
23 Aug
2010
23 Aug
'10
7:48 p.m.
On Mon, 23 Aug 2010 13:44:31 +0200, Ilya Sokolov <ilyasokol@gmail.com> wrote:
On 15.08.2010 16:03, Boris Schaeling wrote:
* For the first time there is full support for synchronous and asynchronous operations.
Do you really need to call ConnectNamedPipe() at stream_behavior.hpp, line 258? AFAICS, at that time the client's end of pipe is opened already, so there is no need to wait for it.
If I remember correctly ConnectNamedPipe() is called to make sure that both ends are connected before the constructor of boost::process::behavior::named_pipe returns. As CreateFileA() is called with FILE_FLAG_OVERLAPPED this function could return immediately and the program could continue without the parent end already open. Boris