From owner-freebsd-hackers Thu Sep 3 09:58:30 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA13771 for freebsd-hackers-outgoing; Thu, 3 Sep 1998 09:58:30 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from sockratte.schell.de ([195.20.238.74]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA13758 for ; Thu, 3 Sep 1998 09:58:27 -0700 (PDT) (envelope-from sas@schell.de) Received: from guerilla.foo.bar (hennen32s.iserlohn.netsurf.de [194.195.194.226]) by sockratte.schell.de (8.9.1/8.9.1) with ESMTP id SAA11489 for ; Thu, 3 Sep 1998 18:56:36 +0200 Received: from localhost (localhost.foo.bar [127.0.0.1]) by guerilla.foo.bar (8.9.1/8.9.1) with SMTP id SAA01951 for ; Thu, 3 Sep 1998 18:52:13 +0200 (CEST) Date: Thu, 3 Sep 1998 18:52:13 +0200 (CEST) From: Sascha Schumann To: freebsd-hackers@FreeBSD.ORG Subject: threads again/cancellation Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG It was stated more than once that FreeBSD would conform to pthreads draft 4. However, while `back'porting a program from draft 10 to 4 I had to deal with cancellation of threads. pthread.h in -current defines the D10 functions pthread_setcanceltype and pthread_setcancelstate but lacks the proper #define's for PTHREAD_CANCEL_* So, according to Appendix B of O'Reilly's pthreads book I shall use pthread_setcancel respective pthread_setasynccancel. But they are not declared (anymore?)... I will stick to pmpthreads until this issue is solved. -- Sascha To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message