Added SwitchToThread.

This commit is contained in:
Aric Stewart 2002-08-16 01:38:20 +00:00 committed by Alexandre Julliard
parent d34bd643fe
commit e23c96f649
2 changed files with 7 additions and 1 deletions

View File

@ -937,7 +937,7 @@ init MAIN_KernelInit
@ stdcall SetWaitableTimer(long ptr long ptr ptr long) SetWaitableTimer
@ stub SignalObjectAndWait
@ stub SwitchToFiber
@ stub SwitchToThread
@ stdcall SwitchToThread() SwitchToThread
@ forward TryEnterCriticalSection ntdll.RtlTryEnterCriticalSection
@ stdcall VirtualAllocEx(long ptr long long long) VirtualAllocEx
@ stub VirtualFreeEx

View File

@ -155,3 +155,9 @@ LONG WINAPI KERNEL_nop(void)
{
return 0;
}
BOOL WINAPI SwitchToThread(VOID)
{
Sleep(0);
return 1;
}