Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: deadlock caused by gettext usage in a signal handler
- X-seq: zsh-workers 24183
- From: Guillaume Chazarain <guichaz@xxxxxxxx>
- To: "Zsh Hackers' List" <zsh-workers@xxxxxxxxxx>
- Subject: Re: deadlock caused by gettext usage in a signal handler
- Date: Fri, 7 Dec 2007 12:57:52 +0100
- In-reply-to: <200712071127.lB7BRC1F012713@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20071130203534.1d1ea29c@xxxxxxxx> <20071204203017.35a29727.p.w.stephenson@xxxxxxxxxxxx> <20071207000207.2eb7e5e7@xxxxxxxx> <20071207103533.47776664@news01> <20071207114631.7fa1eab9@xxxxxxxx> <071207032122.ZM25420@xxxxxxxxxxxxxxxxxxxxxx> <200712071127.lB7BRC1F012713@xxxxxxxxxxxxxx>
Le Fri, 07 Dec 2007 11:27:12 +0000,
Peter Stephenson <pws@xxxxxxx> a écrit :
> + queue_signals();
> pid = fork();
> - signal_setmask(signals);
> + unqueue_signals();
OK, tested it, works fine.
The following comment in signals.h made a lot of sense to me though ;-)
* it is probably overkill for zsh to do this
--
Guillaume
Messages sorted by:
Reverse Date,
Date,
Thread,
Author