]> sourceware.org Git - newlib-cygwin.git/commitdiff
2002-10-07 Joel Sherrill <joel@OARcorp.com>
authorJoel Sherrill <joel.sherrill@oarcorp.com>
Tue, 8 Oct 2002 13:03:07 +0000 (13:03 +0000)
committerJoel Sherrill <joel.sherrill@oarcorp.com>
Tue, 8 Oct 2002 13:03:07 +0000 (13:03 +0000)
* libc/include/pthread.h: Define PTHREAD_CANCELED.

newlib/ChangeLog
newlib/libc/include/pthread.h

index d82ca5d59569f0debb007802a2b6deb4aabbefe7..f6167e081d7af59882e615090c37a9b628a365fc 100644 (file)
@@ -1,3 +1,7 @@
+2002-10-07     Joel Sherrill <joel@OARcorp.com>
+
+       * libc/include/pthread.h: Define PTHREAD_CANCELED.
+
 2002-10-07     Joel Sherrill <joel@OARcorp.com>
 
        * libc/machine/hppa/DEFS.h, libc/machine/hppa/pcc_prefix.s,
index af5d32c40b4f6f9b37b8903d95437c7a31e165a5..05ff38b113f59a0f6948bd4eb42a23366859fe42 100644 (file)
@@ -258,6 +258,8 @@ int _EXFUN(pthread_key_delete, (pthread_key_t key));
 #define PTHREAD_CANCEL_DEFERRED 0
 #define PTHREAD_CANCEL_ASYNCHRONOUS 1
 
+#define PTHREAD_CANCELED ((void *) -1)
+
 int    _EXFUN(pthread_cancel, (pthread_t thread));
 
 /* Setting Cancelability State, P1003.1c/Draft 10, p. 183 */
This page took 0.046798 seconds and 5 git commands to generate.