mirror of
https://github.com/reactos/reactos.git
synced 2024-09-09 20:30:04 +00:00
stop kernel crashing on thread termination
svn path=/trunk/; revision=9240
This commit is contained in:
parent
8111f57e17
commit
de1dd3b0d4
|
@ -1,4 +1,4 @@
|
|||
/* $Id: kill.c,v 1.70 2004/01/05 14:28:21 weiden Exp $
|
||||
/* $Id: kill.c,v 1.71 2004/04/28 23:46:26 tamlin Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS kernel
|
||||
|
@ -252,7 +252,7 @@ PsTerminateOtherThread(PETHREAD Thread,
|
|||
{
|
||||
DPRINT("Unblocking thread\n");
|
||||
Status = STATUS_THREAD_IS_TERMINATING;
|
||||
PsUnblockThread(Thread, &Status);
|
||||
KeRemoveAllWaitsThread(Thread, Status, TRUE);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue