summaryrefslogtreecommitdiffstats
path: root/libdwfl
diff options
context:
space:
mode:
authorMark Wielaard <mark@klomp.org>2022-05-08 21:16:10 +0200
committerMark Wielaard <mark@klomp.org>2022-05-15 00:26:31 +0200
commit27414ecffd6cc71c9af7bacc75ce448121ac005f (patch)
treec70ead3679ae13b528fe494a8d2ed5689568da9d /libdwfl
parentdebuginfod: Remove debuginfod_init_cache (diff)
downloadelfutils-27414ecffd6cc71c9af7bacc75ce448121ac005f.tar.gz
elfutils-27414ecffd6cc71c9af7bacc75ce448121ac005f.tar.bz2
elfutils-27414ecffd6cc71c9af7bacc75ce448121ac005f.tar.xz
debuginfod: update mtime of interval_path as early as possible
Call utime on interval_path file as soon as the thread is committed to cleanup the cache files. This will prevent other threads trying to also commit to cleaning the cache files. Having multiple threads try to clean the cache simultaniously doesn't improve cleanup speed because the threads will try to delete the files in the same order. Signed-off-by: Mark Wielaard <mark@klomp.org>
Diffstat (limited to 'libdwfl')
0 files changed, 0 insertions, 0 deletions