Commit d66130ac authored by Andreas Mohr's avatar Andreas Mohr Committed by Alexandre Julliard

Don't crash if send_thread_wakeup() fails.

parent b7e8a9e7
......@@ -440,7 +440,8 @@ static int wake_thread( struct thread *thread )
if (debug_level) fprintf( stderr, "%08x: *wakeup* signaled=%d cookie=%p\n",
(unsigned int)thread, signaled, cookie );
end_wait( thread );
send_thread_wakeup( thread, cookie, signaled );
if (send_thread_wakeup( thread, cookie, signaled ) == -1) /* error */
break;
}
return count;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment