summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbje <bje>1998-07-10 13:05:56 +0000
committerbje <bje>1998-07-10 13:05:56 +0000
commit80baf8105b142293300279f7a9b9c7410de9c430 (patch)
tree21ec6dd5af14db0b44907662d8e40d54beab572e
parent54d09badfef01443f885893866625bd35aa6293e (diff)
1998-07-10 Ben Elliston <bje@cygnus.com>
* exit1.c: New file; test pthread_exit().
-rw-r--r--tests/exit1.c14
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);
+}