mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 02:25:17 +00:00
Fix work item enumaration values.
svn path=/trunk/; revision=12679
This commit is contained in:
parent
849dcb1be9
commit
cd9f2f7964
5 changed files with 15 additions and 16 deletions
|
@ -17,16 +17,6 @@
|
||||||
*/
|
*/
|
||||||
#define NR_PRIORITY_LEVELS (32)
|
#define NR_PRIORITY_LEVELS (32)
|
||||||
|
|
||||||
/*
|
|
||||||
* PURPOSE: Type of queue to insert a work item in
|
|
||||||
*/
|
|
||||||
enum
|
|
||||||
{
|
|
||||||
CriticalWorkQueue,
|
|
||||||
DelayedWorkQueue,
|
|
||||||
HyperCriticalWorkQueue,
|
|
||||||
};
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Types of memory to allocate
|
* Types of memory to allocate
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -699,7 +699,7 @@ ExSetResourceOwnerPointer (
|
||||||
IN PVOID OwnerPointer
|
IN PVOID OwnerPointer
|
||||||
);
|
);
|
||||||
|
|
||||||
VOID
|
ULONG
|
||||||
STDCALL
|
STDCALL
|
||||||
ExSetTimerResolution (
|
ExSetTimerResolution (
|
||||||
IN ULONG DesiredTime,
|
IN ULONG DesiredTime,
|
||||||
|
|
|
@ -1,10 +1,16 @@
|
||||||
/* $Id: extypes.h,v 1.25 2004/10/22 22:49:00 weiden Exp $ */
|
/* $Id$ */
|
||||||
|
|
||||||
#ifndef __INCLUDE_DDK_EXTYPES_H
|
#ifndef __INCLUDE_DDK_EXTYPES_H
|
||||||
#define __INCLUDE_DDK_EXTYPES_H
|
#define __INCLUDE_DDK_EXTYPES_H
|
||||||
|
|
||||||
typedef ULONG INTERLOCKED_RESULT;
|
typedef ULONG INTERLOCKED_RESULT;
|
||||||
typedef ULONG WORK_QUEUE_TYPE;
|
|
||||||
|
typedef enum _WORK_QUEUE_TYPE {
|
||||||
|
CriticalWorkQueue,
|
||||||
|
DelayedWorkQueue,
|
||||||
|
HyperCriticalWorkQueue,
|
||||||
|
MaximumWorkQueue
|
||||||
|
} WORK_QUEUE_TYPE;
|
||||||
|
|
||||||
typedef ULONG_PTR ERESOURCE_THREAD, *PERESOURCE_THREAD;
|
typedef ULONG_PTR ERESOURCE_THREAD, *PERESOURCE_THREAD;
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* $Id: time.c,v 1.28 2004/12/05 00:20:22 navaraf Exp $
|
/* $Id$
|
||||||
*
|
*
|
||||||
* COPYRIGHT: See COPYING in the top level directory
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS kernel
|
* PROJECT: ReactOS kernel
|
||||||
|
@ -228,7 +228,7 @@ ExLocalTimeToSystemTime (
|
||||||
/*
|
/*
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
VOID
|
ULONG
|
||||||
STDCALL
|
STDCALL
|
||||||
ExSetTimerResolution (
|
ExSetTimerResolution (
|
||||||
IN ULONG DesiredTime,
|
IN ULONG DesiredTime,
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* $Id: work.c,v 1.24 2004/12/24 02:09:12 gdalsnes Exp $
|
/* $Id$
|
||||||
*
|
*
|
||||||
* COPYRIGHT: See COPYING in the top level directory
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS kernel
|
* PROJECT: ReactOS kernel
|
||||||
|
@ -172,6 +172,9 @@ ExQueueWorkItem (PWORK_QUEUE_ITEM WorkItem,
|
||||||
&WorkItem->List
|
&WorkItem->List
|
||||||
);
|
);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
default:
|
||||||
|
break;
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue