Author: ion
Date: Wed Sep 12 17:06:49 2012
New Revision: 57285
URL:
http://svn.reactos.org/svn/reactos?rev=57285&view=rev
Log:
[NTOSKRNL]: I fail.
Modified:
trunk/reactos/ntoskrnl/include/internal/se.h
Modified: trunk/reactos/ntoskrnl/include/internal/se.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/include/internal/…
==============================================================================
--- trunk/reactos/ntoskrnl/include/internal/se.h [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/include/internal/se.h [iso-8859-1] Wed Sep 12 17:06:49 2012
@@ -184,16 +184,21 @@
#define SepAcquireTokenLockExclusive(Token) \
+{ \
KeEnterCriticalRegion(); \
ExAcquireResourceExclusive(((PTOKEN)Token)->TokenLock, TRUE); \
-
+}
#define SepAcquireTokenLockShared(Token) \
+{ \
KeEnterCriticalRegion(); \
ExAcquireResourceShared(((PTOKEN)Token)->TokenLock, TRUE); \
+}
#define SepReleaseTokenLock(Token) \
+{ \
ExReleaseResource(((PTOKEN)Token)->TokenLock); \
KeLeaveCriticalRegion(); \
+}
//
// Token Functions