summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/eyal1.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/eyal1.c b/tests/eyal1.c
index e32d29e..f51bc9c 100644
--- a/tests/eyal1.c
+++ b/tests/eyal1.c
@@ -161,6 +161,7 @@ print_server (void *ptr)
*/
if (pthread_mutex_lock (&mutex_todo))
return (-6);
+
mywork = todo;
if (todo >= 0) {
++todo;