From owner-freebsd-hackers Wed Dec 2 12:08:25 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA28336 for freebsd-hackers-outgoing; Wed, 2 Dec 1998 12:08:25 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from cimlogic.com.au (cimlog.lnk.telstra.net [139.130.51.31]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA28310 for ; Wed, 2 Dec 1998 12:08:20 -0800 (PST) (envelope-from jb@cimlogic.com.au) Received: (from jb@localhost) by cimlogic.com.au (8.9.1/8.9.1) id HAA09981; Thu, 3 Dec 1998 07:16:03 +1100 (EST) (envelope-from jb) From: John Birrell Message-Id: <199812022016.HAA09981@cimlogic.com.au> Subject: Re: Question on pthreads. In-Reply-To: from Memphisto at "Dec 2, 98 04:51:05 pm" To: szoli@netvisor.hu (Memphisto) Date: Thu, 3 Dec 1998 07:16:03 +1100 (EST) Cc: freebsd-hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL40 (25)] 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 Memphisto wrote: [Charset iso-8859-2 unsupported, filtering to ASCII...] > I'm currently trying to compile a threaded app on FreeBSD. The problem is > that this app uses a function called pthread_setcancelstate() which is > declared in , but I just can't link the app, because this > function doesn't seem to exist in the libc_r library. What can I do know? > Am I wrong and it does exist or shall I compile the MIT patched pthreads > library? For the time being, pthread_setcancelstate() shouldn't be declared there. It would be unusual for an application to use pthread_setcancelstate() without pthread_cancel(). Refer to the other discussion about using that. -- John Birrell - jb@cimlogic.com.au; jb@freebsd.org http://www.cimlogic.com.au/ CIMlogic Pty Ltd, GPO Box 117A, Melbourne Vic 3001, Australia +61 418 353 137 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message