projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b7920f
)
Replaced a -- with an InterlockedDecrement
author
Phillip Susi
<phreak@iag.net>
Mon, 17 Apr 2000 03:09:04 +0000
(
03:09
+0000)
committer
Phillip Susi
<phreak@iag.net>
Mon, 17 Apr 2000 03:09:04 +0000
(
03:09
+0000)
svn path=/trunk/; revision=1123
reactos/lib/kernel32/synch/critical.c
patch
|
blob
|
history
diff --git
a/reactos/lib/kernel32/synch/critical.c
b/reactos/lib/kernel32/synch/critical.c
index
03f6d20
..
c6e2de2
100644
(file)
--- 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 )
;
}