From owner-freebsd-current Thu Sep 10 11:47:57 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA27605 for freebsd-current-outgoing; Thu, 10 Sep 1998 11:47:57 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from smtp02.primenet.com (smtp02.primenet.com [206.165.6.132]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA27599 for ; Thu, 10 Sep 1998 11:47:55 -0700 (PDT) (envelope-from tlambert@usr08.primenet.com) Received: (from daemon@localhost) by smtp02.primenet.com (8.8.8/8.8.8) id LAA04441; Thu, 10 Sep 1998 11:47:45 -0700 (MST) Received: from usr08.primenet.com(206.165.6.208) via SMTP by smtp02.primenet.com, id smtpd004408; Thu Sep 10 11:47:40 1998 Received: (from tlambert@localhost) by usr08.primenet.com (8.8.5/8.8.5) id LAA27706; Thu, 10 Sep 1998 11:47:34 -0700 (MST) From: Terry Lambert Message-Id: <199809101847.LAA27706@usr08.primenet.com> Subject: Re: Thread Problems To: info@highwind.com (HighWind Software Information) Date: Thu, 10 Sep 1998 18:47:34 +0000 (GMT) Cc: james.g.mansion@hsbcgroup.com, freebsd-current@FreeBSD.ORG In-Reply-To: <199809101543.LAA17144@highwind.com> from "HighWind Software Information" at Sep 10, 98 11:43:40 am 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-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > I don't see how this is relevant anyway. The libc_r is supposed to set > that fd to non-blocking under the covers. The bug (I believe) is that > somehow the fd becomes blocking. > > I posted a test program that illustrates the problem. See for yourself. What precisely did you expect to have resulted from the fork() call? Specifically, why wasn't this done with a thread creation instead of a fork()? 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-current" in the body of the message