mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
[NTOS:KE]
- Don't set value for DpcActive in KeInitializeMutant and KeInitializeMutex * Fixes 55 tests in kmtest:KeMutex svn path=/trunk/; revision=72555
This commit is contained in:
@@ -51,7 +51,6 @@ KeInitializeMutant(IN PKMUTANT Mutant,
|
||||
/* Now we set up the Dispatcher Header */
|
||||
Mutant->Header.Type = MutantObject;
|
||||
Mutant->Header.Size = sizeof(KMUTANT) / sizeof(ULONG);
|
||||
Mutant->Header.DpcActive = FALSE;
|
||||
Mutant->Header.SignalState = InitialOwner ? 0 : 1;
|
||||
InitializeListHead(&(Mutant->Header.WaitListHead));
|
||||
|
||||
@@ -71,7 +70,6 @@ KeInitializeMutex(IN PKMUTEX Mutex,
|
||||
/* Set up the Dispatcher Header */
|
||||
Mutex->Header.Type = MutantObject;
|
||||
Mutex->Header.Size = sizeof(KMUTEX) / sizeof(ULONG);
|
||||
Mutex->Header.DpcActive = FALSE;
|
||||
Mutex->Header.SignalState = 1;
|
||||
InitializeListHead(&(Mutex->Header.WaitListHead));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user