| commit | b8396c3ed81ef8b17b0bbf7f636bf93cc8d614d3 | [log] [tgz] |
|---|---|---|
| author | Ulrich Weigand <weigand@informatik.uni-erlangen.de> | Sun May 02 11:33:01 1999 +0000 |
| committer | Alexandre Julliard <julliard@winehq.org> | Sun May 02 11:33:01 1999 +0000 |
| tree | a27e34065a8b150ea1c48a869167a46482962763 | |
| parent | 9dcaeca29f7c49296a80514cab8ef8ea5af2d4e9 [diff] |
Don't crash if queuing an APC on a thread that doesn't wait.
diff --git a/server/thread.c b/server/thread.c index e86cd6d..d184f04 100644 --- a/server/thread.c +++ b/server/thread.c
@@ -511,7 +511,7 @@ thread->apc[thread->apc_count].func = func; thread->apc[thread->apc_count].param = param; thread->apc_count++; - wake_thread( thread ); + if (thread->wait) wake_thread( thread ); return 1; }