From owner-freebsd-hackers Tue Sep 1 17:37:27 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA28061 for freebsd-hackers-outgoing; Tue, 1 Sep 1998 17:37:27 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from smtp04.primenet.com (smtp04.primenet.com [206.165.6.134]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA28056 for ; Tue, 1 Sep 1998 17:37:24 -0700 (PDT) (envelope-from tlambert@usr01.primenet.com) Received: (from daemon@localhost) by smtp04.primenet.com (8.8.8/8.8.8) id RAA08738; Tue, 1 Sep 1998 17:36:23 -0700 (MST) Received: from usr01.primenet.com(206.165.6.201) via SMTP by smtp04.primenet.com, id smtpd008711; Tue Sep 1 17:36:16 1998 Received: (from tlambert@localhost) by usr01.primenet.com (8.8.5/8.8.5) id RAA09470; Tue, 1 Sep 1998 17:36:14 -0700 (MST) From: Terry Lambert Message-Id: <199809020036.RAA09470@usr01.primenet.com> Subject: Re: pthread_cancel To: chanders@timing.com (Craig Anderson) Date: Wed, 2 Sep 1998 00:36:13 +0000 (GMT) Cc: freebsd-hackers@FreeBSD.ORG In-Reply-To: <199809012103.PAA11043@count.timing.com> from "Craig Anderson" at Sep 1, 98 03:03:02 pm X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > 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