summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 */