From owner-freebsd-bugs Thu Feb 7 9: 1:52 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id A6AEA37B423; Thu, 7 Feb 2002 09:01:44 -0800 (PST) Received: (from dwmalone@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g17H1Zt83698; Thu, 7 Feb 2002 09:01:35 -0800 (PST) (envelope-from dwmalone) Date: Thu, 7 Feb 2002 09:01:35 -0800 (PST) From: Message-Id: <200202071701.g17H1Zt83698@freefall.freebsd.org> To: yxpan@yahoo.com, dwmalone@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: i386/34536: accept() blocks other threads Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Synopsis: accept() blocks other threads State-Changed-From-To: closed->open State-Changed-By: dwmalone State-Changed-When: Thu Feb 7 08:48:18 PST 2002 State-Changed-Why: I think there is a little more to this PR... I've done a little more experimentation, and I've found that the problem is the fact that your process forks. The must set up the descriptors correctly, but things are subtly different in the child. I don't know how posix threads and fork are supposed to interact. Could someone who does know about posix threads say is expected if you fork? Should threading work in the child? http://www.FreeBSD.org/cgi/query-pr.cgi?pr=34536 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message