diff options
author | Sander Vrijders <sander.vrijders@intec.ugent.be> | 2016-06-21 09:54:37 +0200 |
---|---|---|
committer | Sander Vrijders <sander.vrijders@intec.ugent.be> | 2016-06-21 09:54:37 +0200 |
commit | aa6255a605cac034089c78562c0d000aacd0af1e (patch) | |
tree | 9a76d884afc10c276c0b4e3af989d68a9556551b /src/ipcpd/ipcp.c | |
parent | 34f96731f5fb8ab8a1f7018366fc28fd041d73e2 (diff) | |
parent | a46114ec01e8d174a41744f4f1b49905613847dc (diff) | |
download | ouroboros-aa6255a605cac034089c78562c0d000aacd0af1e.tar.gz ouroboros-aa6255a605cac034089c78562c0d000aacd0af1e.zip |
Merged in dstaesse/ouroboros/be-robust (pull request #135)
lib, irmd, ipcp: robust mutexes
Diffstat (limited to 'src/ipcpd/ipcp.c')
-rw-r--r-- | src/ipcpd/ipcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ipcpd/ipcp.c b/src/ipcpd/ipcp.c index 5a621391..901abae6 100644 --- a/src/ipcpd/ipcp.c +++ b/src/ipcpd/ipcp.c @@ -40,7 +40,7 @@ struct ipcp * ipcp_instance_create() i->irmd_fd = -1; i->state = IPCP_INIT; - rw_lock_init(&i->state_lock); + pthread_rwlock_init(&i->state_lock, NULL); return i; } |