mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 17:44:45 +00:00
found that list corruption bug. it was also resulting in a meory spray
svn path=/trunk/; revision=881
This commit is contained in:
parent
96aed594a2
commit
98a6084104
1 changed files with 1 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
/* $Id: thread.c,v 1.41 1999/12/14 00:54:29 phreak Exp $
|
||||
/* $Id: thread.c,v 1.42 1999/12/16 22:59:03 phreak Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS kernel
|
||||
|
@ -161,7 +161,6 @@ VOID PsReapThreads(VOID)
|
|||
|
||||
if (current->Tcb.State == THREAD_STATE_TERMINATED_1)
|
||||
{
|
||||
RemoveEntryList(¤t->Tcb.ThreadListEntry);
|
||||
DPRINT("Reaping thread %x\n", current);
|
||||
current->Tcb.State = THREAD_STATE_TERMINATED_2;
|
||||
KeReleaseSpinLock(&PiThreadListLock, oldIrql);
|
||||
|
|
Loading…
Reference in a new issue