diff options
author | Mark Wielaard <mark@klomp.org> | 2022-05-08 21:16:10 +0200 |
---|---|---|
committer | Mark Wielaard <mark@klomp.org> | 2022-05-15 00:26:31 +0200 |
commit | 27414ecffd6cc71c9af7bacc75ce448121ac005f (patch) | |
tree | c70ead3679ae13b528fe494a8d2ed5689568da9d /libdwfl | |
parent | debuginfod: Remove debuginfod_init_cache (diff) | |
download | elfutils-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