rpcrt4: Pass WT_EXECUTELONGFUNCTION to QueueUserWorkItem since the
function being called can sometimes take a long time to return and
we almost
always want a new thread to be created if there are no free threads
available.
Robert Shearman
rob at codeweavers.com
Thu Jan 4 12:23:53 CST 2007
---
dlls/rpcrt4/rpc_server.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
-------------- next part --------------
diff --git a/dlls/rpcrt4/rpc_server.c b/dlls/rpcrt4/rpc_server.c
index 50549ea..98c4812 100644
--- a/dlls/rpcrt4/rpc_server.c
+++ b/dlls/rpcrt4/rpc_server.c
@@ -345,7 +345,7 @@ #else
packet->conn = conn;
packet->hdr = hdr;
packet->msg = msg;
- QueueUserWorkItem(RPCRT4_worker_thread, packet, WT_EXECUTEDEFAULT);
+ QueueUserWorkItem(RPCRT4_worker_thread, packet, WT_EXECUTELONGFUNCTION);
#endif
msg = NULL;
}
More information about the wine-patches
mailing list