aboutsummaryrefslogtreecommitdiffstats
path: root/src/rspamd.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-04-04 18:20:48 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-04-04 18:20:48 +0100
commit37b5f80e6e23639d9deb10707585e3751182784b (patch)
tree740d7c8679b4582260b014bab9f71a3d506a4105 /src/rspamd.h
parent69a72071bdeadae86bf1b387f5b3e69266ead1c7 (diff)
downloadrspamd-37b5f80e6e23639d9deb10707585e3751182784b.tar.gz
rspamd-37b5f80e6e23639d9deb10707585e3751182784b.zip
[Minor] Add startup mutex
Diffstat (limited to 'src/rspamd.h')
-rw-r--r--src/rspamd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rspamd.h b/src/rspamd.h
index 286a929f8..a677f02c7 100644
--- a/src/rspamd.h
+++ b/src/rspamd.h
@@ -235,6 +235,7 @@ struct rspamd_main {
struct rspamd_stat *stat; /**< pointer to statistics */
rspamd_mempool_t *server_pool; /**< server's memory pool */
+ rspamd_mempool_mutex_t *start_mtx; /**< server is starting up */
GHashTable *workers; /**< workers pool indexed by pid */
GHashTable *spairs; /**< socket pairs requested by workers */
rspamd_logger_t *logger;