2002-10-07 Joel Sherrill <joel@OARcorp.com>
* libc/include/pthread.h: Define PTHREAD_CANCELED.
This commit is contained in:
parent
54ec52e4a4
commit
89e3fcba70
|
@ -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,
|
||||||
|
|
|
@ -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 */
|
||||||
|
|
Loading…
Reference in New Issue