2002-10-07 Joel Sherrill <joel@OARcorp.com>

* libc/include/pthread.h: Define PTHREAD_CANCELED.
This commit is contained in:
Joel Sherrill 2002-10-08 13:03:07 +00:00
parent 54ec52e4a4
commit 89e3fcba70
2 changed files with 6 additions and 0 deletions

View 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> 2002-10-07 Joel Sherrill <joel@OARcorp.com>
* libc/machine/hppa/DEFS.h, libc/machine/hppa/pcc_prefix.s, * libc/machine/hppa/DEFS.h, libc/machine/hppa/pcc_prefix.s,

View File

@ -258,6 +258,8 @@ int _EXFUN(pthread_key_delete, (pthread_key_t key));
#define PTHREAD_CANCEL_DEFERRED 0 #define PTHREAD_CANCEL_DEFERRED 0
#define PTHREAD_CANCEL_ASYNCHRONOUS 1 #define PTHREAD_CANCEL_ASYNCHRONOUS 1
#define PTHREAD_CANCELED ((void *) -1)
int _EXFUN(pthread_cancel, (pthread_t thread)); int _EXFUN(pthread_cancel, (pthread_t thread));
/* Setting Cancelability State, P1003.1c/Draft 10, p. 183 */ /* Setting Cancelability State, P1003.1c/Draft 10, p. 183 */