From 80baf8105b142293300279f7a9b9c7410de9c430 Mon Sep 17 00:00:00 2001 From: bje Date: Fri, 10 Jul 1998 13:05:56 +0000 Subject: 1998-07-10 Ben Elliston * exit1.c: New file; test pthread_exit(). --- tests/exit1.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 tests/exit1.c (limited to 'tests/exit1.c') diff --git a/tests/exit1.c b/tests/exit1.c new file mode 100644 index 0000000..2f31383 --- /dev/null +++ b/tests/exit1.c @@ -0,0 +1,14 @@ +/* + * Test for pthread_exit(). + * + * Depends on API functions: None. + */ + +#include + +int +main(int argc, char * argv[]) +{ + /* A simple test firstly. */ + pthread_exit((void *) 2); +} -- cgit v1.2.3