Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc')
-rw-r--r--newlib/libc/include/pthread.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/newlib/libc/include/pthread.h b/newlib/libc/include/pthread.h
index af5d32c40..05ff38b11 100644
--- a/newlib/libc/include/pthread.h
+++ b/newlib/libc/include/pthread.h
@@ -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 */