mirror of
https://github.com/reactos/reactos.git
synced 2024-09-10 12:54:51 +00:00
- Temporarily revert my last change. We don't set the SystemThread flag appropriately and it is always zero
svn path=/trunk/; revision=35294
This commit is contained in:
parent
2517d40711
commit
bd974a9e1c
|
@ -1086,7 +1086,7 @@ PsTerminateSystemThread(IN NTSTATUS ExitStatus)
|
|||
PETHREAD Thread = PsGetCurrentThread();
|
||||
|
||||
/* Make sure this is a system thread */
|
||||
if (!Thread->SystemThread) return STATUS_INVALID_PARAMETER;
|
||||
if (Thread->SystemThread) return STATUS_INVALID_PARAMETER;
|
||||
|
||||
/* Terminate it for real */
|
||||
return PspTerminateThreadByPointer(Thread, ExitStatus, TRUE);
|
||||
|
|
Loading…
Reference in a new issue