aboutsummaryrefslogtreecommitdiffstats
path: root/src/mds-server/client.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mds-server/client.h')
-rw-r--r--src/mds-server/client.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/mds-server/client.h b/src/mds-server/client.h
index 972ff84..2aeb813 100644
--- a/src/mds-server/client.h
+++ b/src/mds-server/client.h
@@ -112,6 +112,26 @@ typedef struct client
*/
struct mds_message* modify_message;
+ /**
+ * Mutex for `modify_message`
+ */
+ pthread_mutex_t modify_mutex;
+
+ /**
+ * Condidition for `modify_message`
+ */
+ pthread_cond_t modify_cond;
+
+ /**
+ * Whether `modify_mutex` has been initialised
+ */
+ int modify_mutex_created;
+
+ /**
+ * Whether `modify_cond` has been initialised
+ */
+ int modify_cond_created;
+
} client_t;