diff options
author | dimitri staessens <dimitri.staessens@intec.ugent.be> | 2016-10-24 16:41:27 +0200 |
---|---|---|
committer | dimitri staessens <dimitri.staessens@intec.ugent.be> | 2016-10-24 16:41:27 +0200 |
commit | f33f8f79ee6fd6efe6c868be61ab3addf2ec2730 (patch) | |
tree | ab571093282b69ff1acfb13ea33428c2843c2b2f /src/ipcpd/ipcp-data.h | |
parent | f9aecc005360388cfebd625925e9219aa27c3466 (diff) | |
parent | b05290df28e380ddc789fd5e7eada95e9adef389 (diff) | |
download | ouroboros-f33f8f79ee6fd6efe6c868be61ab3addf2ec2730.tar.gz ouroboros-f33f8f79ee6fd6efe6c868be61ab3addf2ec2730.zip |
Merge branch 'be' of bitbucket.org:ouroboros-rina/ouroboros into be
Diffstat (limited to 'src/ipcpd/ipcp-data.h')
-rw-r--r-- | src/ipcpd/ipcp-data.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/ipcpd/ipcp-data.h b/src/ipcpd/ipcp-data.h index a9a637f0..4472a1d7 100644 --- a/src/ipcpd/ipcp-data.h +++ b/src/ipcpd/ipcp-data.h @@ -36,12 +36,10 @@ struct ipcp_data { char * dif_name; struct list_head registry; - pthread_mutex_t reg_lock; + pthread_rwlock_t reg_lock; struct list_head directory; - pthread_mutex_t dir_lock; - - pthread_mutex_t lock; + pthread_rwlock_t dir_lock; }; struct ipcp_data * ipcp_data_create(void); |