diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2023-06-09 16:34:41 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2023-06-13 11:06:47 -0400 |
commit | c023cceb3f50d92ed565ea3f085883f86de0f3f0 (patch) | |
tree | afa4b05301e7c339a78e65d4c7a0c3443f553a93 /src/ctx.c | |
parent | 0cca5b64e1355af5d2c3d935da4e110982273703 (diff) | |
download | bfs-c023cceb3f50d92ed565ea3f085883f86de0f3f0.tar.xz |
bftw: Use an I/O queue to open directories
Parallelism is controlled by the new -j flag.
Diffstat (limited to 'src/ctx.c')
-rw-r--r-- | src/ctx.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -56,6 +56,7 @@ struct bfs_ctx *bfs_ctx_new(void) { ctx->maxdepth = INT_MAX; ctx->flags = BFTW_RECOVER; ctx->strategy = BFTW_BFS; + ctx->threads = 0; ctx->optlevel = 3; ctx->debug = 0; ctx->ignore_races = false; |