mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 14:53:09 +00:00
use ASSERT instead of assert
svn path=/trunk/; revision=11745
This commit is contained in:
parent
c116c5fefe
commit
7f363e4ceb
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
/* $Id: process.c,v 1.154 2004/11/21 10:59:11 weiden Exp $
|
/* $Id: process.c,v 1.155 2004/11/21 13:18:19 weiden Exp $
|
||||||
*
|
*
|
||||||
* COPYRIGHT: See COPYING in the top level directory
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS kernel
|
* PROJECT: ReactOS kernel
|
||||||
|
@ -2194,7 +2194,7 @@ PsLockProcess(PEPROCESS Process, BOOL Timeout)
|
||||||
VOID
|
VOID
|
||||||
PsUnlockProcess(PEPROCESS Process)
|
PsUnlockProcess(PEPROCESS Process)
|
||||||
{
|
{
|
||||||
assert(Process->LockOwner == KeGetCurrentThread());
|
ASSERT(Process->LockOwner == KeGetCurrentThread());
|
||||||
|
|
||||||
if(InterlockedDecrement((LONG*)&Process->LockCount) == 0)
|
if(InterlockedDecrement((LONG*)&Process->LockCount) == 0)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue