summaryrefslogtreecommitdiff
path: root/test/pthread/ex7.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/pthread/ex7.c')
-rw-r--r--test/pthread/ex7.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/pthread/ex7.c b/test/pthread/ex7.c
index 9cf30aa19..49af18d96 100644
--- a/test/pthread/ex7.c
+++ b/test/pthread/ex7.c
@@ -48,13 +48,13 @@ test_thread (void *ms_param)
status = pthread_cond_timedwait(&foo.cond, &foo.mutex, &timeout);
}
pthread_mutex_unlock(&foo.mutex);
-
+
/* post the main event */
pthread_mutex_lock(&main_event.mutex);
main_event.flag = 1;
pthread_cond_signal(&main_event.cond);
pthread_mutex_unlock(&main_event.mutex);
-
+
/* that's it, bye */
return (void*) status;
}
@@ -95,7 +95,7 @@ main (void)
printf ("count = %lu\n", count);
}
-
+
usleep (10);
}