|
Boost : |
Subject: Re: [boost] [gsoc] Boost.Process done
From: Jeremy Maitin-Shepard (jeremy_at_[hidden])
Date: 2010-09-11 14:36:17
On 09/11/2010 09:07 AM, Boris Schaeling wrote:
> [snip]
> While it's fairly obvious I agree with Ilya (I think he pointed it out)
> that passing the information to a stream behavior explicitly whether an
> input or output stream is configured is redundant as stream behaviors
> are attached to input or output stream delegates anyway.
The main issue is that I would like the same facilities for configuring
std{in,out,err} to also be usable for arbitrary file descriptor numbers
on POSIX, and for those file descriptors, you cannot assume any
particular direction.
>
>> [...]Note: As I mentioned in another message, I think that the
>> parent-end of the pipe should be returned to the user as part of
>> configuring the stream behavior. This would further reduce confusion
>> and chance of incorrectly configuring the direction. The documentation
>> could also address this.
>
> With pipe you mean the pair of handles created by pipe? Where and why do
> you want to return it to the user? You want the user to explicitly set
> the pair of handles in context?
I think I explained this more clearly in another e-mail in reply to you.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk