Fix the build, sorry.
Modified: trunk/reactos/ntoskrnl/ps/thread.c
_____
Modified: trunk/reactos/ntoskrnl/ps/thread.c
--- trunk/reactos/ntoskrnl/ps/thread.c 2005-01-12 14:07:55 UTC (rev
12966)
+++ trunk/reactos/ntoskrnl/ps/thread.c 2005-01-12 14:09:07 UTC (rev
12967)
@@ -981,34 +981,6 @@
}
-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
*
Show replies by date