summaryrefslogtreecommitdiff
path: root/src/ipcpd/normal/pol/complete.c
diff options
context:
space:
mode:
authorSander Vrijders <sander.vrijders@ugent.be>2017-03-21 17:14:50 +0000
committerdimitri staessens <dimitri.staessens@ugent.be>2017-03-21 17:14:50 +0000
commit411f2fba77388ba8b2258bcb5380152460f8e8e8 (patch)
tree6977229f9148774a4338c489134207ab8b0f5c9f /src/ipcpd/normal/pol/complete.c
parent122202761b3fb09a883ca8081eb1eb4243cd484d (diff)
parent1d0e634a651f234c3942c6b82164470fa2432058 (diff)
downloadouroboros-411f2fba77388ba8b2258bcb5380152460f8e8e8.tar.gz
ouroboros-411f2fba77388ba8b2258bcb5380152460f8e8e8.zip
Merged in sandervrijders/ouroboros/be-fixes (pull request #409)
ipcpd: normal: Several bugfixes
Diffstat (limited to 'src/ipcpd/normal/pol/complete.c')
-rw-r--r--src/ipcpd/normal/pol/complete.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ipcpd/normal/pol/complete.c b/src/ipcpd/normal/pol/complete.c
index 1f3f6031..635b573b 100644
--- a/src/ipcpd/normal/pol/complete.c
+++ b/src/ipcpd/normal/pol/complete.c
@@ -131,6 +131,8 @@ void * complete_create(struct nbs * nbs,
allocator, (void *) complete))
return NULL;
+ pthread_join(complete->allocator, NULL);
+
if (pthread_create(&complete->listener, NULL,
listener, (void *) complete))
return NULL;