Commit e23c96f6 authored by Aric Stewart's avatar Aric Stewart Committed by Alexandre Julliard

Added SwitchToThread.

parent d34bd643
...@@ -937,7 +937,7 @@ init MAIN_KernelInit ...@@ -937,7 +937,7 @@ init MAIN_KernelInit
@ stdcall SetWaitableTimer(long ptr long ptr ptr long) SetWaitableTimer @ stdcall SetWaitableTimer(long ptr long ptr ptr long) SetWaitableTimer
@ stub SignalObjectAndWait @ stub SignalObjectAndWait
@ stub SwitchToFiber @ stub SwitchToFiber
@ stub SwitchToThread @ stdcall SwitchToThread() SwitchToThread
@ forward TryEnterCriticalSection ntdll.RtlTryEnterCriticalSection @ forward TryEnterCriticalSection ntdll.RtlTryEnterCriticalSection
@ stdcall VirtualAllocEx(long ptr long long long) VirtualAllocEx @ stdcall VirtualAllocEx(long ptr long long long) VirtualAllocEx
@ stub VirtualFreeEx @ stub VirtualFreeEx
......
...@@ -155,3 +155,9 @@ LONG WINAPI KERNEL_nop(void) ...@@ -155,3 +155,9 @@ LONG WINAPI KERNEL_nop(void)
{ {
return 0; return 0;
} }
BOOL WINAPI SwitchToThread(VOID)
{
Sleep(0);
return 1;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment