[ros-diffs] [gvg] 20506: Exiting the loop while someone else still might have a lock kind of defeats

gvg at svn.reactos.org gvg at svn.reactos.org
Sun Jan 1 12:51:07 CET 2006


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
  _____  

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;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20060101/4c208393/attachment.html


More information about the Ros-diffs mailing list