- Fixed the declaration of some thread functions.

svn path=/trunk/; revision=7045
This commit is contained in:
Hartmut Birr 2003-12-14 18:02:34 +00:00
parent 41b0a75f9a
commit 4e7d177b17
3 changed files with 9 additions and 7 deletions

View file

@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/ */
/* $Id: ps.h,v 1.54 2003/11/27 01:06:48 gdalsnes Exp $ /* $Id: ps.h,v 1.55 2003/12/14 18:02:34 hbirr Exp $
* *
* FILE: ntoskrnl/ke/kthread.c * FILE: ntoskrnl/ke/kthread.c
* PURPOSE: Process manager definitions * PURPOSE: Process manager definitions
@ -508,7 +508,7 @@ VOID
PsApplicationProcessorInit(VOID); PsApplicationProcessorInit(VOID);
VOID VOID
PsPrepareForApplicationProcessorInit(ULONG Id); PsPrepareForApplicationProcessorInit(ULONG Id);
NTSTATUS STDCALL VOID STDCALL
PsIdleThreadMain(PVOID Context); PsIdleThreadMain(PVOID Context);
VOID STDCALL VOID STDCALL

View file

@ -25,7 +25,7 @@ PETHREAD PiIdleThread;
/* FUNCTIONS *****************************************************************/ /* FUNCTIONS *****************************************************************/
NTSTATUS STDCALL VOID STDCALL
PsIdleThreadMain(PVOID Context) PsIdleThreadMain(PVOID Context)
{ {
KIRQL oldlvl; KIRQL oldlvl;
@ -54,7 +54,7 @@ PsInitIdleThread(VOID)
NULL, NULL,
NULL, NULL,
NULL, NULL,
(PKSTART_ROUTINE) PsIdleThreadMain, PsIdleThreadMain,
NULL); NULL);
Priority = LOW_PRIORITY; Priority = LOW_PRIORITY;

View file

@ -1,4 +1,4 @@
/* $Id: thread.c,v 1.122 2003/11/17 02:12:51 hyperion Exp $ /* $Id: thread.c,v 1.123 2003/12/14 18:02:33 hbirr Exp $
* *
* COPYRIGHT: See COPYING in the top level directory * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel * PROJECT: ReactOS kernel
@ -199,7 +199,7 @@ PiWakeupReaperThread(VOID)
KeSetEvent(&PiReaperThreadEvent, 0, FALSE); KeSetEvent(&PiReaperThreadEvent, 0, FALSE);
} }
NTSTATUS STDCALL VOID STDCALL
PiReaperThreadMain(PVOID Ignored) PiReaperThreadMain(PVOID Ignored)
{ {
while (1) while (1)
@ -506,7 +506,7 @@ PsInitThreadManagment(VOID)
NULL, NULL,
NULL, NULL,
NULL, NULL,
(PKSTART_ROUTINE) PiReaperThreadMain, PiReaperThreadMain,
NULL); NULL);
if (!NT_SUCCESS(Status)) if (!NT_SUCCESS(Status))
{ {
@ -624,6 +624,8 @@ NtAlertResumeThread(IN HANDLE ThreadHandle,
OUT PULONG SuspendCount) OUT PULONG SuspendCount)
{ {
UNIMPLEMENTED; UNIMPLEMENTED;
return(STATUS_NOT_IMPLEMENTED);
} }