summaryrefslogtreecommitdiff
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
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.
-rw-r--r--ChangeLog5
-rw-r--r--pthread.h6
2 files changed, 11 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 4651477..30be419 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Fri Jul 24 23:09:33 1998 Ross Johnson <rpj@ixobrychus.canberra.edu.au>
+
+ * pthread.h: (pthread_cancel): Add function prototype.
+ (pthread_testcancel): Ditto.
+
1998-07-24 Ben Elliston <bje@cygnus.com>
* pthread.h (pthread_condattr_t): Rename dummy structure member.
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 */