diff options
-rw-r--r-- | main.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -53,14 +53,12 @@ void *thread_party(void *t) { long tid = (long)t; - pthread_mutex_lock(&party->mutex); eat(tid); if (tid % 2 == 1) sleep(1); cleanup(tid); - pthread_mutex_unlock(&party->mutex); pthread_exit(NULL); } |