summaryrefslogtreecommitdiff
path: root/pthread.h
diff options
context:
space:
mode:
authorrpj <rpj>1999-03-18 16:18:39 +0000
committerrpj <rpj>1999-03-18 16:18:39 +0000
commit907de7f11ebcac02b705b421c3a4480cac9deaaf (patch)
tree5db3a96522f91a7ab9e38b10c89c370c7cb9e4b1 /pthread.h
parent6f37434d05b3598c132702d1a5c92a04927dfa58 (diff)
==> ChangeLog <==
Fri Mar 19 09:12:59 1999 Ross Johnson <rpj@ixobrychus.canberra.edu.au> * private.c (_pthread_threadStart): status returns PTHREAD_CANCELED. * pthread.h (PTHREAD_CANCELED): defined. ==> tests/ChangeLog <== Fri Mar 19 1999 Ross Johnson <rpj@ixobrychus.canberra.edu.au> * *.bat: redirect unwanted output to nul: * runall.bat: new. * cancel1.c: new. Not part of suite yet.
Diffstat (limited to 'pthread.h')
-rw-r--r--pthread.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/pthread.h b/pthread.h
index 9deff4d..bc11d1b 100644
--- a/pthread.h
+++ b/pthread.h
@@ -477,6 +477,16 @@ extern "C"
/*
* ====================
* ====================
+ * Cancelation
+ * ====================
+ * ====================
+ */
+#define PTHREAD_CANCELED ((void *) -1)
+
+
+/*
+ * ====================
+ * ====================
* Once Key
* ====================
* ====================