diff options
Diffstat (limited to 'src/mds-server/client.h')
-rw-r--r-- | src/mds-server/client.h | 20 |
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; |