mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 01:24:38 +00:00
Release PiThreadListLock before KeReleaseThread is called in PiDeleteThread.
svn path=/trunk/; revision=3583
This commit is contained in:
parent
f5eae01623
commit
ffe7ccffd2
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
/* $Id: create.c,v 1.53 2002/09/08 10:23:39 chorns Exp $
|
||||
/* $Id: create.c,v 1.54 2002/09/30 20:56:17 hbirr Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS kernel
|
||||
|
@ -296,8 +296,8 @@ PiDeleteThread(PVOID ObjectBody)
|
|||
}
|
||||
PiNrThreads--;
|
||||
RemoveEntryList(&Thread->Tcb.ThreadListEntry);
|
||||
KeReleaseThread(Thread);
|
||||
KeReleaseSpinLock(&PiThreadListLock, oldIrql);
|
||||
KeReleaseThread(Thread);
|
||||
DPRINT("PiDeleteThread() finished\n");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue