bug-bash
[Top][All Lists]
Advanced

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

Re: Parallelism a la make -j <n> / GNU parallel


From: Chet Ramey
Subject: Re: Parallelism a la make -j <n> / GNU parallel
Date: Mon, 07 May 2012 08:39:10 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:11.0) Gecko/20120327 Thunderbird/11.0.1

On 5/5/12 2:37 AM, Andreas Schwab wrote:

> (bash) Bash POSIX Mode::
> 
>  46. The arrival of `SIGCHLD'  when a trap is set on `SIGCHLD' does not
>      interrupt the `wait' builtin and cause it to return immediately.
>      The trap command is run once for each child that exits.
> 
> (I think the description is backwards.)

You're right; the description is backwards.  When in Posix mode, SIGCHLD
interrupts the wait builtin.

-- 
``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]