mirror of
https://github.com/reactos/reactos.git
synced 2025-06-12 03:58:29 +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
|
@ -7894,7 +7894,7 @@ RxScavengerTimerRoutine(
|
|||
{
|
||||
/* Done */
|
||||
Scavenger->State = RDBSS_SCAVENGER_ACTIVE;
|
||||
KeResetEvent(&Scavenger->ScavengeEvent);
|
||||
KeClearEvent(&Scavenger->ScavengeEvent);
|
||||
|
||||
/* Scavenger the entries */
|
||||
RxReleaseScavengerMutex();
|
||||
|
@ -7982,7 +7982,7 @@ RxSpinUpRequestsDispatcher(
|
|||
{
|
||||
ListEntry = &RxDispatcher->SpinUpRequests;
|
||||
}
|
||||
KeResetEvent(&RxDispatcher->SpinUpRequestsEvent);
|
||||
KeClearEvent(&RxDispatcher->SpinUpRequestsEvent);
|
||||
KeReleaseSpinLock(&RxDispatcher->SpinUpRequestsLock, OldIrql);
|
||||
|
||||
while (ListEntry != &RxDispatcher->SpinUpRequests)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue