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.
This commit is contained in:
Rob Shearman 2007-01-04 18:23:53 +00:00 committed by Alexandre Julliard
parent 40b39b06d4
commit 98c87d0e70
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}