Mike Frysinger wrote:
> On Wednesday 02 April 2008, Pádraig Brady wrote:
>> To be sure, are you referring to races where a signal
>> can be received while in the signal handler on some systems?
>>
>> Also there is the issue of restarting system calls
>> after the signal handler has run.
>>
>> Also there is the issue of resetting the signal
>> handler after it has run.
>>
>> Are there systems that coreutils supports currently
>> that doesn't follow BSD/linux semantics wrt the above 3 points?
> 
> afaik, Linux behaves as POSIX dictates.  that means it does not behave as you 
> describe above.  newer versions of glibc may block the same signal from 
> re-occuring, but it doesnt block other signals.

True, but the current timeout implementation can handle that.
Anyway I'll get rid of the ambiguity using sigaction as you suggest.

cheers,
Pádraig.


_______________________________________________
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to