Re: Forwarding: Re: restarting signals (fwd)

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: Neal Becker, exim-users
Subject: Re: Forwarding: Re: restarting signals (fwd)
I have just received the following information from a colleague. Looks
like HP have followed the route that other OS have gone for their newest
release.

> > The problem seems to be precisely that HP-UX does lack restartable
> > system calls.
>
> At least according to the HPUX 10 documentation, this doesn't appear to
> be the case. In the sigaction(2) man page, it says
>
>         SA_RESTART            This flag affects the behaviour of
>                    interruptible functions; that is, those
>                    specified to fail with errno set to EINTR.
>                    If set, and a function specified as
>                    interruptible is interrupted by this
>                    signal, the function will restart and will
>                    not fail with EINTR unless otherwise
>                    specified. If the flag is not set,
>                    interruptible functions interrupted by
>                    this signal will fail with errno set to
>                    EINTR.

>
> Note that this behaviour is specifiable on a per signal basis.


This is exactly the same as the other OS that have SA_RESTART.

--
Philip Hazel                   University Computing Service,
ph10@???             New Museums Site, Cambridge CB2 3QG,
P.Hazel@???          England.  Phone: +44 1223 334714