Jacek Caban jacek@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.