summaryrefslogtreecommitdiffstats
path: root/src/color.h
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2023-07-18 11:43:21 -0400
committerTavian Barnes <tavianator@tavianator.com>2023-07-18 11:43:21 -0400
commit815798e1eea7fc8dacd5acab40202ec4d251d517 (patch)
tree8a9ba346285d7443732a03e5a3985b56cca6e7d1 /src/color.h
parenteb466474e7b5ab79bbeccb2d99bb7b1cfc57af5f (diff)
downloadbfs-815798e1eea7fc8dacd5acab40202ec4d251d517.tar.xz
bftw: Add a queue of directories to unwrap
For !BFS_USE_UNWRAPDIR, if a file is still pinned in bftw_closedir(), it has to stay open until its pincount drops to zero. Since this happens in bftw_ioq_pop(), we can't immediately call bftw_unwrapdir() as that adds to the ioq. Instead, add it to a list that gets drained by the next bftw_gc().
Diffstat (limited to 'src/color.h')
0 files changed, 0 insertions, 0 deletions