Re: Signal Handling
From: Paul Pluzhnikov (ppluzhnikov-nsp_at_charter.net)
Date: 12/04/03
- Previous message: Jose Pina Coelho: "Re: Signal Handling"
- In reply to: Jose Pina Coelho: "Re: Signal Handling"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 04 Dec 2003 13:01:25 -0800
Jose Pina Coelho <eresquigal@netcabo.pt> writes:
> Paul Pluzhnikov <ppluzhnikov-nsp@charter.net> wrote in
> > [BTW, using SIGPWR for *application* signalling is probably a very
> > bad idea (TM)]
> Why ?
>
> It allows an application to cleanup correctly before the power runs out.
The OP didn't use it for any such cleanup.
>From the original message:
:there are write() for sockets, so SIGPIPE is generated quite often.
:pthread_kill(thread_id, SIGPWR) is called frequenctly to interrupt
:write().
Cheers,
-- In order to understand recursion you must first understand recursion. Remove /-nsp/ for email.
- Previous message: Jose Pina Coelho: "Re: Signal Handling"
- In reply to: Jose Pina Coelho: "Re: Signal Handling"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|