* Alexander Farber <[EMAIL PROTECTED]> [2005-08-11 17:46]:
> > basically every system call can be interrupted and thus fail with EINTR
> 
> What about SA_RESTART? Can it be relied on to restart poll(), accept(),
> read() and writev() when I for example use SIGHUP to reload config files?
> Or should I better always check for EINTR? Why don't you use sigaction 
> at all in ntpd and bgpd?

they're nonblocking anyway, handling EINTR is no different than EAGAIN 
which I have to handle there no matter what

-- 
BS Web Services, http://www.bsws.de/
OpenBSD-based Webhosting, Mail Services, Managed Servers, ...
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)

Reply via email to