Fix the build, sorry.

svn path=/trunk/; revision=12967
This commit is contained in:
Filip Navara 2005-01-12 14:09:07 +00:00
parent e6464bc179
commit b5c55ab4de

View file

@ -981,34 +981,6 @@ KeSetAffinityThread(PKTHREAD Thread,
}
NTSTATUS STDCALL
NtAlertThread (IN HANDLE ThreadHandle)
{
PETHREAD Thread;
NTSTATUS Status;
NTSTATUS ThreadStatus;
KIRQL oldIrql;
Status = ObReferenceObjectByHandle(ThreadHandle,
THREAD_SUSPEND_RESUME,
PsThreadType,
UserMode,
(PVOID*)&Thread,
NULL);
if (Status != STATUS_SUCCESS)
{
return(Status);
}
ThreadStatus = STATUS_ALERTED;
oldIrql = KeAcquireDispatcherDatabaseLock();
(VOID)PsUnblockThread(Thread, &ThreadStatus, 0);
KeReleaseDispatcherDatabaseLock(oldIrql);
ObDereferenceObject(Thread);
return(STATUS_SUCCESS);
}
/**********************************************************************
* NtOpenThread/4
*