summaryrefslogtreecommitdiff
path: root/lib/mesa/src/util/fossilize_db.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mesa/src/util/fossilize_db.h')
-rw-r--r--lib/mesa/src/util/fossilize_db.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/mesa/src/util/fossilize_db.h b/lib/mesa/src/util/fossilize_db.h
index 9b6d34122..e05aef9e4 100644
--- a/lib/mesa/src/util/fossilize_db.h
+++ b/lib/mesa/src/util/fossilize_db.h
@@ -76,6 +76,7 @@ struct foz_db {
FILE *file[FOZ_MAX_DBS]; /* An array of all foz dbs */
FILE *db_idx; /* The default writable foz db idx */
simple_mtx_t mtx; /* Mutex for file/hash table read/writes */
+ simple_mtx_t flock_mtx; /* Mutex for flocking the file for writes */
void *mem_ctx;
struct hash_table_u64 *index_db; /* Hash table of all foz db entries */
bool alive;