Date: Thu, 3 Sep 1998 18:52:13 +0200 (CEST) From: Sascha Schumann <sas@schell.de> To: freebsd-hackers@FreeBSD.ORG Subject: threads again/cancellation Message-ID: <Pine.BSF.4.01.9809031830140.1894-100000@guerilla.foo.bar>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.01.9809031830140.1894-100000>