Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 06 May 2009 18:36:07 +0300
From:      Petri Helenius <petri@helenius.fi>
To:        freebsd-net@freebsd.org
Subject:   Signalling out of accept
Message-ID:  <4A01AE67.5090101@helenius.fi>

next in thread | raw e-mail | index | archive | help

Hi,

What is the preferred way of getting out of an accept in an 
multithreaded application? On linux it works that the in-kernel 
filedescriptor is closed from the signal handler but that does not seem 
to do the trick in FreeBSD 7.1 or 7.2. Is using poll the only option or 
preferred anyway?

Pete




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