Exiting the loop while someone else still might have a lock kind of defeats the purpose of acquiring the lock ourselves
Modified: trunk/reactos/drivers/net/tcpip/recmutex/recmutex.c
--- trunk/reactos/drivers/net/tcpip/recmutex/recmutex.c 2006-01-01 11:48:11 UTC (rev 20505) +++ trunk/reactos/drivers/net/tcpip/recmutex/recmutex.c 2006-01-01 11:50:54 UTC (rev 20506) @@ -38,7 +38,6 @@
FALSE, NULL ); ExAcquireFastMutex( &RecMutex->Mutex );
- if( Status == STATUS_SUCCESS ) break;
} RecMutex->Locked = TRUE; RecMutex->Writer = ToWrite;