summaryrefslogtreecommitdiffstats
path: root/include/pthread.h
diff options
context:
space:
mode:
authordeischen <deischen@FreeBSD.org>1999-07-27 03:29:01 +0000
committerdeischen <deischen@FreeBSD.org>1999-07-27 03:29:01 +0000
commit7d55c9782194733d45645a1af63a8f7c703fa7fb (patch)
tree8987733267c7edb634962961e3d2ce6a55e84208 /include/pthread.h
parent37fd08ae8d4c5dd235b84e9eb583a32bd6f5f5e4 (diff)
downloadFreeBSD-src-7d55c9782194733d45645a1af63a8f7c703fa7fb.zip
FreeBSD-src-7d55c9782194733d45645a1af63a8f7c703fa7fb.tar.gz
Hide pthread cancellation routines behind #ifdef NOT_YET. They are
not currently supported. Also corrected the declaration for pthread_testcancel which incorrectly returned int when POSIX and SUSv2 both say it should be void. Submitted by: Ralf S. Engelschall <rse@engelschall.com> Reviewed by: John Birrell <jb@freebsd.org>
Diffstat (limited to 'include/pthread.h')
-rw-r--r--include/pthread.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/include/pthread.h b/include/pthread.h
index d588182..19ee24b 100644
--- a/include/pthread.h
+++ b/include/pthread.h
@@ -30,6 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
+ * $Id$
*/
#ifndef _PTHREAD_H_
#define _PTHREAD_H_
@@ -262,12 +263,15 @@ int pthread_rwlockattr_setpshared __P((pthread_rwlockattr_t *,
int *));
int pthread_rwlockattr_destroy __P((pthread_rwlockattr_t *));
pthread_t pthread_self __P((void));
-int pthread_setcancelstate __P((int, int *));
-int pthread_setcanceltype __P((int, int *));
int pthread_setspecific __P((pthread_key_t, const void *));
int pthread_sigmask __P((int, const sigset_t *, sigset_t *));
-int pthread_testcancel __P((void));
+#ifdef NOT_YET
+int pthread_cancel __P((pthread_t));
+int pthread_setcancelstate __P((int, int *));
+int pthread_setcanceltype __P((int, int *));
+void pthread_testcancel __P((void));
+#endif
int pthread_getprio __P((pthread_t));
int pthread_setprio __P((pthread_t, int));
OpenPOWER on IntegriCloud