From 1d0e634a651f234c3942c6b82164470fa2432058 Mon Sep 17 00:00:00 2001 From: Sander Vrijders Date: Tue, 21 Mar 2017 18:01:43 +0100 Subject: ipcpd: normal: Several bugfixes These solve several bugfixes in the normal. --- src/ipcpd/normal/pol/complete.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/ipcpd/normal/pol/complete.c') 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; -- cgit v1.2.3