Re: restarting signals

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Philip Hazel
Ημερομηνία:  
Προς: tron
Υ/ο: neal, exim-users
Αντικείμενο: Re: restarting signals
On Wed, 16 Oct 1996 tron@??? wrote:

> The way this stuff should work (presuming it is okay not to run on
> older systems that lack restartable system calls), is to always use
> system call restarts and to then use longjmp() to jump around the
> system call back to some point in your program. This usually
> requires careful use of flags to indicate when to call longjmp and
> when not to.


The problem seems to be precisely that HP-UX does lack restartable
system calls.

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