From owner-freebsd-hackers Mon Mar 6 6:54: 6 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from ckmso1.proxy.att.com (ckmso1.att.com [12.20.58.69]) by hub.freebsd.org (Postfix) with ESMTP id C196E37BD52 for ; Mon, 6 Mar 2000 06:53:58 -0800 (PST) (envelope-from myevmenkin@att.com) Received: from gab200r1.ems.att.com ([135.37.94.32]) by ckmso1.proxy.att.com (AT&T IPNS/MSO-2.2) with ESMTP id JAA19602; Mon, 6 Mar 2000 09:53:42 -0500 (EST) Received: from njb140bh2.ems.att.com by gab200r1.ems.att.com (8.8.8+Sun/ATTEMS-1.4.1 sol2) id JAA04133; Mon, 6 Mar 2000 09:54:48 -0500 (EST) Received: by njb140bh2.ems.att.com with Internet Mail Service (5.5.2650.21) id ; Mon, 6 Mar 2000 09:53:41 -0500 Message-ID: From: "Yevmenkin, Maksim N, CSCIO" To: "'Titus von Boxberg'" , Daniel Eischen Cc: freebsd-hackers@FreeBSD.ORG Subject: RE: Pthread blocking I/O Date: Mon, 6 Mar 2000 09:53:35 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG [...] > 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. or - use other threads library - use non-blocking read - use select/poll with timeout man pthread and see /usr/src/lib/libc_r/uthread for details. thanks, emax To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message