summaryrefslogtreecommitdiff
path: root/pthread.h
diff options
context:
space:
mode:
Diffstat (limited to 'pthread.h')
-rw-r--r--pthread.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/pthread.h b/pthread.h
index b3d76e9..fa0c3f8 100644
--- a/pthread.h
+++ b/pthread.h
@@ -278,6 +278,12 @@ int pthread_sigmask(int how,
const sigset_t *set,
sigset_t *oset);
+/* Thread cancelation functions. */
+
+void pthread_testcancel(void);
+
+int pthread_cancel(pthread_t thread);
+
#ifdef __cplusplus
}
#endif /* __cplusplus */