Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Feb 2002 08:04:15 -0800 (PST)
From:      <roam@FreeBSD.org>
To:        yxpan@yahoo.com, roam@FreeBSD.org, freebsd-bugs@FreeBSD.org
Subject:   Re: i386/34536: accept() blocks other threads
Message-ID:  <200202021604.g12G4Fc77225@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
Synopsis: accept() blocks other threads

State-Changed-From-To: open->closed
State-Changed-By: roam
State-Changed-When: Sat Feb 2 07:59:14 PST 2002
State-Changed-Why: 
accept(2) is documented as a blocking syscall.  In FreeBSD's current
threads implementation, blocking syscalls block the whole process - all
of its threads.  The possible ways around that are: using the
linuxthreads port, waiting for FreeBSD 5.0's KSE's, or using
non-blocking sockets and select(2) as described in the PR.

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200202021604.g12G4Fc77225>