> > He is setting the signal handler with signal(), which calls
> > sigaction() without the SA_RESTART flag set, so it seems that should
> > interrupt recvfrom().
> Bzzt :-) Alfred's correct. Read the manpage for signal again.
Ahh - I was reading the source code and missed the ! in !sigismember().
I was thinking of people using alarm() to timeout recvfrom() using
a sigsetjmp(), but you don't need the syscall to be interrupted
for that.
*less confused now*
> To Dmitry: Don't use antiquated signal. Use sigaction and don't
> set the SA_RESTART flag.
Indeedy!
David.
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message