diff options
author | dimitri staessens <[email protected]> | 2017-08-16 07:01:49 +0000 |
---|---|---|
committer | Sander Vrijders <[email protected]> | 2017-08-16 07:01:49 +0000 |
commit | c8283ea410e7d640537303c6b644bbc3afb35cd5 (patch) | |
tree | 57a4d386fcc20cd7bbef330a246357ed3cfdae35 /src/ipcpd/normal/fa.c | |
parent | c3d9dbe4971549c8d2f8f821f06dcaa1dce90073 (diff) | |
parent | a27bef54052b81406ba3142be3da4ab2a6330de6 (diff) | |
download | ouroboros-c8283ea410e7d640537303c6b644bbc3afb35cd5.tar.gz ouroboros-c8283ea410e7d640537303c6b644bbc3afb35cd5.zip |
Merged in dstaesse/ouroboros/be-single-accept (pull request #553)
Be single accept
Diffstat (limited to 'src/ipcpd/normal/fa.c')
-rw-r--r-- | src/ipcpd/normal/fa.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ipcpd/normal/fa.c b/src/ipcpd/normal/fa.c index 06f10b53..2488f017 100644 --- a/src/ipcpd/normal/fa.c +++ b/src/ipcpd/normal/fa.c @@ -287,6 +287,8 @@ int fa_alloc_resp(int fd, struct shm_du_buff * sdb; qoscube_t qc; + clock_gettime(PTHREAD_COND_CLOCK, &abstime); + pthread_mutex_lock(&ipcpi.alloc_lock); while (ipcpi.alloc_id != fd && ipcp_get_state() == IPCP_OPERATIONAL) { |