commit | d66130ac9dc31d462d48f7e4bc2e32e311376de3 | [log] [tgz] |
---|---|---|
author | Andreas Mohr <a.mohr@mailto.de> | Tue Aug 07 19:31:43 2001 +0000 |
committer | Alexandre Julliard <julliard@winehq.org> | Tue Aug 07 19:31:43 2001 +0000 |
tree | 2a94e2a0861569701d415167cfa2f48cbb2a7155 | |
parent | b7e8a9e7faf9021dace8c67d9862a17c6e4fd5c8 [diff] [blame] |
Don't crash if send_thread_wakeup() fails.
diff --git a/server/thread.c b/server/thread.c index 90e88aa..918c842 100644 --- a/server/thread.c +++ b/server/thread.c
@@ -440,7 +440,8 @@ 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; }