|
Boost : |
Subject: Re: [boost] [gsoc] Boost.Process done
From: Jeremy Maitin-Shepard (jeremy_at_[hidden])
Date: 2010-09-13 14:01:52
On 09/13/2010 04:41 AM, Stewart, Robert wrote:
> [snip]
> Is not signal handling a process-specific behavior? It may be
> POSIX-specific, but it seems reasonable that Boost.Process
> provide signal handling support. Then, Boost.Process can require
> that all code in a process using that library must coordinate
> with its signal handling.
I would not say that general signal handling falls within the domain of
Boost.Process, but it may make sense for Boost.Process to depend on a
not-yet-existent Boost POSIX Signal Handling library.
Note, however, that coordination solely at the level of signals is not
sufficient, at least if the code is to scale to many child processes.
Rather, specific coordination with respect to SIGCHLD and waitpid is needed.
> [snip]
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk