Re: restarting signals

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Neal Becker
Fecha:  
A: Philip Hazel
Cc: exim-users
Asunto: Re: restarting signals
>>>>> "Philip" == Philip Hazel <ph10@???> writes:

    Philip> On 16 Oct 1996, Neal Becker wrote:
    Philip> I'd better go away and think about this one. When does one *not* want it 
    Philip> to be interruptable? Ah. Is is the SIGUSER1 thing getting involved here?
    >> 
    >> Yes, I'm trying to figure out the easiest way to get this working for
    >> hpux9.


    Philip> Hmm. I think I will have to write a test program. Exim in fact uses 
    Philip> getc() when it is reading the data part of a message, leaving it to the 
    Philip> C library to do the read() calls. We need to know what the C library 
    Philip> does.


On hpux9 I see that getc() can return EINTR, so I guess you'd just
wrap getc().