summaryrefslogtreecommitdiffstats
path: root/include/mutexs.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/mutexs.h')
-rw-r--r--include/mutexs.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/mutexs.h b/include/mutexs.h
index 6cf72054..83c5075b 100644
--- a/include/mutexs.h
+++ b/include/mutexs.h
@@ -29,6 +29,7 @@
# define ZBX_MUTEX_NAME char*
# define ZBX_MUTEX_LOG "ZBX_MUTEX_LOG"
+# define ZBX_MUTEX_NODE_SYNC "ZBX_MUTEX_NODE_SYNC"
#else /* not _WINDOWS */
@@ -40,9 +41,10 @@
# define ZBX_MUTEX_NAME int
# define ZBX_MUTEX_LOG 0
-# define ZBX_MUTEX_CACHE 1
+# define ZBX_MUTEX_NODE_SYNC 1
+# define ZBX_MUTEX_CACHE 2
/* This has to be the last MUTEX in the list with MAX number */
-# define ZBX_MUTEX_COUNT 2
+# define ZBX_MUTEX_COUNT 3
# define ZBX_MUTEX_MAX_TRIES 20 /* seconds */