diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-05-11 03:57:21 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-05-11 03:57:21 +0200 |
commit | e64b8f2fedba36d5ba64cd5f77c4fb166f9ea3c6 (patch) | |
tree | 2549d7f18077d293b7b0311f749e73a21715d46b /src/mds-server/client.h | |
parent | whitespace (diff) | |
download | mds-e64b8f2fedba36d5ba64cd5f77c4fb166f9ea3c6.tar.gz mds-e64b8f2fedba36d5ba64cd5f77c4fb166f9ea3c6.tar.bz2 mds-e64b8f2fedba36d5ba64cd5f77c4fb166f9ea3c6.tar.xz |
move mutex_created into client_t + error handling for pthread_*_init
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r-- | src/mds-server/client.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mds-server/client.h b/src/mds-server/client.h index a795c84..fee5eba 100644 --- a/src/mds-server/client.h +++ b/src/mds-server/client.h @@ -71,6 +71,11 @@ typedef struct client pthread_mutex_t mutex; /** + * Whether `mutex` has been initialised + */ + int mutex_created; + + /** * The messages interception conditions conditions * for the client */ |