summaryrefslogtreecommitdiff
path: root/src/ipcpd/ipcp-data.h
diff options
context:
space:
mode:
authorSander Vrijders <sander.vrijders@intec.ugent.be>2016-10-23 18:52:55 +0000
committerSander Vrijders <sander.vrijders@intec.ugent.be>2016-10-23 18:52:55 +0000
commit94573411a43ed2d2232bb9cf86998273c56cd249 (patch)
tree1e2740988654a4469676ac9779ae543db79ba33d /src/ipcpd/ipcp-data.h
parenta4889a6f1e9f3d3c6822c403ac4fa544618a8c34 (diff)
parent15bc37f3cbfc8df224854f5d988e0689ec7c94e0 (diff)
downloadouroboros-94573411a43ed2d2232bb9cf86998273c56cd249.tar.gz
ouroboros-94573411a43ed2d2232bb9cf86998273c56cd249.zip
Merged in dstaesse/ouroboros/be-shim-eth (pull request #275)
More fixes
Diffstat (limited to 'src/ipcpd/ipcp-data.h')
-rw-r--r--src/ipcpd/ipcp-data.h6
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);