bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: wait unblocks before signals processed


From: Chet Ramey
Subject: Re: wait unblocks before signals processed
Date: Wed, 14 Nov 2012 22:00:01 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20121026 Thunderbird/16.0.2

On 11/6/12 4:21 PM, Elliott Forney wrote:
> Thanks!  If you run the sample script below you will see that the
> development branch of bash occasionally crashes with an Aborted..
> message too.

Thanks.  This was a race condition caused by too-aggressively executing
the SIGCHLD trap.  There will be a fix in the next version.

> Do you have an opinion on having a variant of wait, say "wait -", that
> will simply wait for any job to complete and return it's exit status?

I like the idea -- but I think there should be a different option, maybe
`-o' for `one' -- and I will take a look at it for the next version.

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]