Alexandre Julliard : server: Don't queue low-level hooks to a hung queue.
Alexandre Julliard
julliard at winehq.org
Fri Jun 17 13:13:47 CDT 2011
Module: wine
Branch: master
Commit: f6b0ce3c44060862d79e768385c3c3ad1643fe4b
URL: http://source.winehq.org/git/wine.git/?a=commit;h=f6b0ce3c44060862d79e768385c3c3ad1643fe4b
Author: Alexandre Julliard <julliard at winehq.org>
Date: Fri Jun 17 11:54:43 2011 +0200
server: Don't queue low-level hooks to a hung queue.
---
server/queue.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/server/queue.c b/server/queue.c
index 8bf2336..d514a52 100644
--- a/server/queue.c
+++ b/server/queue.c
@@ -1405,6 +1405,7 @@ static int send_hook_ll_message( struct desktop *desktop, struct message *hardwa
if (!(hook_thread = get_first_global_hook( id ))) return 0;
if (!(queue = hook_thread->queue)) return 0;
+ if (is_queue_hung( queue )) return 0;
if (!(msg = mem_alloc( sizeof(*msg) ))) return 0;
More information about the wine-cvs
mailing list