[Wine-patches] [eter-2.1 2/2] server: Deliver an async io APC to any alive thread in the process. (eterbug #12211)
Dmitry Timoshkov
dtimoshkov на etersoft.ru
Вт Ноя 14 05:15:31 MSK 2017
---
server/async.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/server/async.c b/server/async.c
index 29d9a83e52..a236a1c4a0 100644
--- a/server/async.c
+++ b/server/async.c
@@ -162,7 +162,7 @@ void async_terminate( struct async *async, unsigned int status )
data.async_io.user = async->data.arg;
data.async_io.sb = async->data.iosb;
data.async_io.status = status;
- thread_queue_apc( NULL, async->thread, &async->obj, &data );
+ thread_queue_apc( async->thread->process, async->thread, &async->obj, &data );
async->status = status;
async_reselect( async );
release_object( async ); /* so that it gets destroyed when the async is done */
--
2.15.0
Подробная информация о списке рассылки Wine-patches