5 of 4 commit (sorry my svn clinet is crazy for moment)
authorMagnus Olsen <magnus@greatlord.com>
Mon, 3 Jul 2006 20:27:38 +0000 (20:27 +0000)
committerMagnus Olsen <magnus@greatlord.com>
Mon, 3 Jul 2006 20:27:38 +0000 (20:27 +0000)
Commit w3seek patch from bug 1609 : file attachment (id=910)
The attached patch implements QueueUserWorkItem()/RtlQueueWorkItem() (lacks
optimizations!!!). WINE's latest rpcrt4 relies on it.

1. Implement QueueUserWorkItem()/RtlQueueWorkItem() :
2. A slightly optimized
3. Supports WT_TRANSFER_IMPERSONATION
4. Slightly improved handling of growing/shrinking the pool by assuming work items with WT_EXECUTELONGFUNCTION run longer
5. Fixes a hack that made a worker thread always terminate if there were at least one more thread available

svn path=/trunk/; revision=22808

reactos/dll/ntdll/def/ntdll.def

index c0d5eaf..14c6d62 100644 (file)
@@ -601,6 +601,7 @@ RtlQueryRegistryValues@20
 RtlQuerySecurityObject@20
 RtlQueryTagHeap@20
 RtlQueryTimeZoneInformation@4
+RtlQueueWorkItem@12
 RtlRaiseException@4
 RtlRaiseStatus@4
 RtlRandom@4