ntdll: Support receiving server reply data to memory with write watch.

Alexandre Julliard julliard at winehq.org
Thu Aug 3 02:48:44 CDT 2017


Jacek Caban <jacek at codeweavers.com> writes:

> @@ -256,6 +256,7 @@ static void read_reply_data( void *buffer, size_t size )
>          if (!ret) break;
>          if (errno == EINTR) continue;
>          if (errno == EPIPE) break;
> +        if (errno == EFAULT && virtual_uninterrupted_write_memory( buffer, NULL, size ) >= size) continue;
>          server_protocol_perror("read");

You can't enter a critical section in the middle of a server call.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list