
On 23.08.2010 23:48, Boris Schaeling wrote:
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
It couldn't because it returns "... an open handle to the specified file, device, named pipe, or mail slot ..."
and the program could continue without the parent end already open.
Boris