diff options
author | bje <bje> | 1998-07-10 13:05:56 +0000 |
---|---|---|
committer | bje <bje> | 1998-07-10 13:05:56 +0000 |
commit | 80baf8105b142293300279f7a9b9c7410de9c430 (patch) | |
tree | 21ec6dd5af14db0b44907662d8e40d54beab572e | |
parent | 54d09badfef01443f885893866625bd35aa6293e (diff) |
1998-07-10 Ben Elliston <bje@cygnus.com>
* exit1.c: New file; test pthread_exit().
-rw-r--r-- | tests/exit1.c | 14 |
1 files changed, 14 insertions, 0 deletions
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 <pthread.h> + +int +main(int argc, char * argv[]) +{ + /* A simple test firstly. */ + pthread_exit((void *) 2); +} |