mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
Fix the build, sorry.
svn path=/trunk/; revision=12967
This commit is contained in:
parent
e6464bc179
commit
b5c55ab4de
1 changed files with 0 additions and 28 deletions
|
@ -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
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue