mirror of
https://github.com/reactos/reactos.git
synced 2025-06-18 04:35:35 +00:00
[LIBS] Use KeClearEvent instead of KeResetEvent where the previous state is not needed.
This commit is contained in:
parent
2cb0c129a6
commit
008e035b7e
3 changed files with 4 additions and 4 deletions
|
@ -81,7 +81,7 @@ BOOLEAN ChewCreate(VOID (*Worker)(PVOID), PVOID WorkerContext)
|
|||
Item->Worker = Worker;
|
||||
Item->WorkerContext = WorkerContext;
|
||||
ExInterlockedInsertTailList(&WorkQueue, &Item->Entry, &WorkQueueLock);
|
||||
KeResetEvent(&WorkQueueClear);
|
||||
KeClearEvent(&WorkQueueClear);
|
||||
IoQueueWorkItem(Item->WorkItem, ChewWorkItem, DelayedWorkQueue, Item);
|
||||
|
||||
return TRUE;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue