16 Sep
2019
16 Sep
'19
11:37 a.m.
Alexandre Julliard <julliard(a)winehq.org> wrote:
+static int rpcrt4_conn_np_wait_for_incoming_data(RpcConnection *conn) { - /* FIXME: implement when named pipe writes use overlapped I/O */ - return -1; + RpcConnection_np *connection = (RpcConnection_np *)conn; + HANDLE event; + + event = get_np_event(connection); + if (!event) return -1; + + WaitForSingleObject(event, INFINITE); + release_np_event(connection, event);
How is that event going to be set?
Thanks for tha review. I blindly copied the code from the read() backend. Hopefully new version is better. -- Dmitry.