On 14 Aug 2001 18:50:13 -0700, Matthew Braithwaite <[EMAIL PROTECTED]> said: > > (2) I suspect, though from lack of experience I am not certain, that > the `Interrupted system call' problem can be *really* fixed by > calling sigaction to specify SA_RESTART for all signals. But the > only awareness of SA_RESTART in the AOLserver code is the SIGHUP > handler in sproc.cpp. A little more here: I RTFM and was reminded that system call restart is the default *unless* you call sigaction. (The signal(3) interface is a wrapper around sigaction that ors in SA_RESTART.) AOLserver uses sigaction, not signal, in ns_signal. The following patch changes ns_signal to specify SA_RESTART, which seems to fix some problems for me.
