diff options
Diffstat (limited to 'src/c/driver.c')
-rw-r--r-- | src/c/driver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/c/driver.c b/src/c/driver.c index f79c166d..ac0b0c86 100644 --- a/src/c/driver.c +++ b/src/c/driver.c @@ -207,7 +207,7 @@ int main(int argc, char *argv[]) { pthread_mutex_lock(&queue_mutex); enqueue(new_fd); - pthread_mutex_unlock(&queue_mutex); pthread_cond_broadcast(&queue_cond); + pthread_mutex_unlock(&queue_mutex); } } |