From 0fe7499bdd8c621df2aee754005f1e457935362f Mon Sep 17 00:00:00 2001 From: rpj Date: Fri, 24 Jul 1998 13:10:43 +0000 Subject: Fri Jul 24 23:09:33 1998 Ross Johnson * pthread.h: (pthread_cancel): Add function prototype. (pthread_testcancel): Ditto. --- pthread.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'pthread.h') 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 */ -- cgit v1.2.3