From 346e0db637f3b0be52e1b7782cffa5ee0f2b09e8 Mon Sep 17 00:00:00 2001 From: rpj Date: Mon, 22 Feb 1999 16:51:52 +0000 Subject: 1999-02-23 Ross Johnson * Template.c: Revamp. * condvar1.c: Add. * condvar2.c: Add. * Makefile: Add condvar1 condvar2 tests. * exit1.c, exit2.c, exit3.c: Cosmetic changes. --- tests/exit2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/exit2.c') diff --git a/tests/exit2.c b/tests/exit2.c index 786e4aa..684305b 100644 --- a/tests/exit2.c +++ b/tests/exit2.c @@ -14,7 +14,7 @@ func(void * arg) pthread_exit(arg); /* Never reached. */ - exit(1); + assert(0); } int @@ -24,7 +24,7 @@ main(int argc, char * argv[]) assert(pthread_create(&t, NULL, func, (void *) NULL) == 0); - Sleep(2000); + Sleep(1000); return 0; } -- cgit v1.2.3