From owner-freebsd-hackers Mon Mar 6 10:46:17 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from server.baldwin.cx (jobaldwi.campus.vt.edu [198.82.67.146]) by hub.freebsd.org (Postfix) with ESMTP id 3C03437BC20 for ; Mon, 6 Mar 2000 10:46:14 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: from john.baldwin.cx (john [10.0.0.2]) by server.baldwin.cx (8.9.3/8.9.3) with ESMTP id NAA02390; Mon, 6 Mar 2000 13:45:58 -0500 (EST) (envelope-from jhb@FreeBSD.org) Message-Id: <200003061845.NAA02390@server.baldwin.cx> X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Mon, 06 Mar 2000 13:45:58 -0500 (EST) From: John Baldwin To: "Yevmenkin, Maksim N, CSCIO" Subject: RE: Pthread blocking I/O Cc: freebsd-hackers@FreeBSD.org, Daniel Eischen , Titus von Boxberg Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 06-Mar-00 Yevmenkin, Maksim N, CSCIO wrote: > [...] > >> What's the reason for locking the file descriptors >> for *all* system calls? especially those I mentioned? >> >> Where is pthread_cancel() ? > > are you using -stable (3.x)? there is no ``pthread_cancel'' in -stable. > use -current. Bzzzzt!!! Wrong! > uname -a FreeBSD server.baldwin.cx 3.4-STABLE FreeBSD 3.4-STABLE #6: Sun Feb 20 20:24:19 EST 2000 root@server.baldwin.cx:/usr/source/src/sys/compile/SERVER i386 > man -k pthread_cancel pthread_cancel(3) - cancel execution of a thread > nm /usr/lib/libc_r.so | grep pthread_cancel 00078524 T pthread_cancel You do need a fairly recent -stable, but it's in there. :) -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.cslab.vt.edu/~jobaldwi/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message