Date: Wed, 02 Sep 1998 09:58:03 -0600 From: chanders@timing.com (Craig Anderson) To: Terry Lambert <tlambert@primenet.com> Cc: chanders@timing.com (Craig Anderson), freebsd-hackers@FreeBSD.ORG Subject: Re: pthread_cancel Message-ID: <199809021558.JAA12876@count.timing.com> In-Reply-To: Your message of "Wed, 02 Sep 1998 00:36:13 -0000." <199809020036.RAA09470@usr01.primenet.com>
next in thread | previous in thread | raw e-mail | index | archive | help
I'm looking at Appendix B of the O'Reilly book, Pthreads Programming. The section on cancellation mentions a change in setting cancellation state. A change in pthread_cancel() is not mentioned. Can someone suggest an alternative to pthread_cancel()? > > I am starting to use threads on a FreeBSD 2.2.6 system. > > Is there a pthread_cancel() function? > > No. FreeBSD provides Draft 4 pthreads, not the Draft 10 (Standard). > > FreeBSD -current is, right now, a bastard child of Draft 4 and > Standard, with the only way to tell them apart being one of the > few things that was braought up to Standard. 8-(. > > Use Draft 4 programming techniques, and you will be fine. See > the O'Reilly Pthreads book for exmaples of how to substitute code; > there is an appendix dedicated to the differences. > > > Terry Lambert > terry@lambert.org > --- > Any opinions in this posting are my own and not those of my present > or previous employers. 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?199809021558.JAA12876>
