mirror of
https://github.com/reactos/reactos.git
synced 2024-08-29 22:58:34 +00:00
Replaced a -- with an InterlockedDecrement
svn path=/trunk/; revision=1123
This commit is contained in:
parent
8b7920f796
commit
b01b3e0e97
|
@ -1,4 +1,4 @@
|
|||
/* $Id: critical.c,v 1.6 1999/09/27 20:58:46 ariadne Exp $
|
||||
/* $Id: critical.c,v 1.7 2000/04/17 03:09:04 phreak Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS system libraries
|
||||
|
@ -72,7 +72,7 @@ LeaveCriticalSection(LPCRITICAL_SECTION lpCriticalSection)
|
|||
ReleaseSemaphore( lpCriticalSection->LockSemaphore,1,NULL);
|
||||
}
|
||||
|
||||
lpCriticalSection->LockCount--;
|
||||
InterlockedDecrement( &lpCriticalSection->LockCount );
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue