Speed up reading of content file disabling mutexes
Some checks are pending
Build / build-mac (push) Waiting to run
Build / build-linux (push) Waiting to run
Build / build-win (push) Waiting to run
CodeQL Advanced / Analyze (c-cpp) (push) Waiting to run
CodeQL Advanced / Analyze (actions) (push) Waiting to run

This commit is contained in:
Andrea Mazzoleni 2026-03-11 15:50:49 +01:00
parent 34ee2bf2a6
commit b8b1d38781
4 changed files with 21 additions and 2 deletions

View file

@ -388,6 +388,8 @@ struct snapraid_disk {
int skip_access; /**< If the disk is inaccessible and it should be skipped. */
#if HAVE_THREAD
int single_thread; /**< Running in single thread, and then not needing the mutex */
/**
* Mutex for protecting the filesystem structure.
*