summaryrefslogtreecommitdiff
path: root/pthread.h
diff options
context:
space:
mode:
authorrpj <rpj>1998-07-24 13:10:43 +0000
committerrpj <rpj>1998-07-24 13:10:43 +0000
commit0fe7499bdd8c621df2aee754005f1e457935362f (patch)
tree841a55257fd2575b24f5dcf544156114dde554c1 /pthread.h
parent8681906bbed569f67d74d01ee0b3686d1da1b3f3 (diff)
Fri Jul 24 23:09:33 1998 Ross Johnson <rpj@ixobrychus.canberra.edu.au>
* pthread.h: (pthread_cancel): Add function prototype. (pthread_testcancel): Ditto.
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 */