mirror of
https://github.com/reactos/reactos.git
synced 2025-07-23 23:03:46 +00:00
3 of 4 commit (sorry my svn clinet is crazy for moment)
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=22806
This commit is contained in:
parent
f9fa435673
commit
34861fa5e2
3 changed files with 16 additions and 0 deletions
|
@ -94,5 +94,6 @@
|
|||
<file>unicodeprefix.c</file>
|
||||
<file>vectoreh.c</file>
|
||||
<file>version.c</file>
|
||||
<file>workitem.c</file>
|
||||
<pch>rtl.h</pch>
|
||||
</module>
|
||||
|
|
|
@ -114,4 +114,11 @@ DebugService(IN ULONG Service,
|
|||
#define TAG_ASTR TAG('A', 'S', 'T', 'R')
|
||||
#define TAG_OSTR TAG('O', 'S', 'T', 'R')
|
||||
|
||||
/* Timer Queue */
|
||||
|
||||
extern HANDLE TimerThreadHandle;
|
||||
|
||||
NTSTATUS
|
||||
RtlpInitializeTimerThread(VOID);
|
||||
|
||||
/* EOF */
|
||||
|
|
|
@ -17,6 +17,14 @@
|
|||
|
||||
typedef VOID (CALLBACK *WAITORTIMERCALLBACKFUNC) (PVOID, BOOLEAN );
|
||||
|
||||
HANDLE TimerThreadHandle = NULL;
|
||||
|
||||
NTSTATUS
|
||||
RtlpInitializeTimerThread(VOID)
|
||||
{
|
||||
return STATUS_NOT_IMPLEMENTED;
|
||||
}
|
||||
|
||||
/*
|
||||
* @unimplemented
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue