From b01b3e0e970ed7aae079b2b8820c622ee530d0a4 Mon Sep 17 00:00:00 2001 From: Phillip Susi Date: Mon, 17 Apr 2000 03:09:04 +0000 Subject: [PATCH] Replaced a -- with an InterlockedDecrement svn path=/trunk/; revision=1123 --- reactos/lib/kernel32/synch/critical.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/lib/kernel32/synch/critical.c b/reactos/lib/kernel32/synch/critical.c index 03f6d20426e..c6e2de225cc 100644 --- a/reactos/lib/kernel32/synch/critical.c +++ b/reactos/lib/kernel32/synch/critical.c @@ -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 ); }