diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-09-30 19:50:38 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-09-30 19:50:38 +0400 |
commit | 032b6404155a362d7d5172dd7f1e3688dda6bf25 (patch) | |
tree | b5044e50880eacdb9aa7a986dfc629c65e51b249 /src/statfile.h | |
parent | ee3d2182e1ce2a65822ac5a7dc51201a7c8b327d (diff) | |
download | rspamd-032b6404155a362d7d5172dd7f1e3688dda6bf25.tar.gz rspamd-032b6404155a362d7d5172dd7f1e3688dda6bf25.zip |
* Fix another race
Diffstat (limited to 'src/statfile.h')
-rw-r--r-- | src/statfile.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/statfile.h b/src/statfile.h index de2ced1b0..4417f4af7 100644 --- a/src/statfile.h +++ b/src/statfile.h @@ -84,6 +84,7 @@ typedef struct statfile_pool_s { size_t max; /**< maximum size */ size_t occupied; /**< current size */ memory_pool_t *pool; /**< memory pool object */ + memory_pool_mutex_t *lock; /**< mutex */ } statfile_pool_t; /** |