summaryrefslogtreecommitdiff
path: root/test/pthread
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-07-23 11:23:36 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-07-23 11:23:36 +0000
commit1f020b178664857b0e107778d04fb971a58e6230 (patch)
treec1cd86593b5d354091e0fa3201c5789bec5c53ad /test/pthread
parentf1775381f91f1250b20f1949dfd0364ddb0ee9fc (diff)
- trim any trailing whitespace
Diffstat (limited to 'test/pthread')
-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);
}