Signalling out of accept

Petri Helenius petri at helenius.fi
Wed May 6 15:36:31 UTC 2009


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



More information about the freebsd-net mailing list