Commit 98c87d0e authored by Rob Shearman's avatar Rob Shearman Committed by Alexandre Julliard

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.
parent 40b39b06
......@@ -345,7 +345,7 @@ static DWORD CALLBACK RPCRT4_io_thread(LPVOID the_arg)
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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment