diff options
author | rpj <rpj> | 1999-02-22 16:51:52 +0000 |
---|---|---|
committer | rpj <rpj> | 1999-02-22 16:51:52 +0000 |
commit | 346e0db637f3b0be52e1b7782cffa5ee0f2b09e8 (patch) | |
tree | e40318f83f82451a0a93afc6949cec7ef06e02f8 /tests/exit3.c | |
parent | 2ef097640758653a0e9d63e90a4aac329cd86368 (diff) |
1999-02-23 Ross Johnson <rpj@ise.canberra.edu.au>
* Template.c: Revamp.
* condvar1.c: Add.
* condvar2.c: Add.
* Makefile: Add condvar1 condvar2 tests.
* exit1.c, exit2.c, exit3.c: Cosmetic changes.
Diffstat (limited to 'tests/exit3.c')
-rw-r--r-- | tests/exit3.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/exit3.c b/tests/exit3.c index b666624..0b6ec31 100644 --- a/tests/exit3.c +++ b/tests/exit3.c @@ -12,7 +12,7 @@ func(void * arg) pthread_exit(arg); /* Never reached. */ - exit(1); + assert(0); } int @@ -27,6 +27,8 @@ main(int argc, char * argv[]) assert(pthread_create(&id[i], NULL, func, (void *) i) == 0); } + Sleep(1000); + /* Success. */ return 0; } |