From owner-freebsd-hackers Tue Feb 27 13:43:54 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from akira.lanfear.com (akira.lanfear.com [208.12.11.174]) by hub.freebsd.org (Postfix) with ESMTP id 5900237B719 for ; Tue, 27 Feb 2001 13:43:45 -0800 (PST) (envelope-from mwlist@lanfear.com) Received: from sapporo.lanfear.com (h-64-105-36-216.snvacaid.covad.net [64.105.36.216]) by akira.lanfear.com (8.9.3/8.9.3) with SMTP id NAA42419 for freebsd-hackers@FreeBSD.ORG; Tue, 27 Feb 2001 13:43:41 -0800 (PST) (envelope-from mwlist@lanfear.com) Date: Tue, 27 Feb 2001 13:43:41 -0800 (PST) From: Marc W Message-Id: <200102272143.NAA42419@akira.lanfear.com> To: freebsd-hackers@FreeBSD.ORG Subject: Re: Where can I find out rules on blocking in threads? MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Mailer: Kiltdown 0.7 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG just did some more testing -- the problem does appear to be FreeBSD specific. Solaris 8 and all the Linuxes I've got handy run this no probs. Don't have any openbsd or netbsd to test those out ... I'll just #ifdef in some code for FreeBSD. anybody know what #ifdef I should use before I start digging through headers? thanks :-) marc. > ----------------------------- > From: mouss > To: Peter Dufault > Cc: Marc W , freebsd-hackers@FreeBSD.ORG > Subject: Re: Where can I find out rules on blocking in threads? > Sent: 02/27/01 22:04> > > > It seems ther's a problem here:) > > the manpage of open states ".... disables thread rescheduling...". > Is this the explanation? > > As far as I can tell, Posix requires that some function should not > block the process, and lists open(), fcntl(), ... > > > Are there any pthread gurus who could give us the real truth here? > > cheers, > mouss > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message