Added SwitchToThread.
This commit is contained in:
parent
d34bd643fe
commit
e23c96f649
|
@ -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
|
||||
|
|
|
@ -155,3 +155,9 @@ LONG WINAPI KERNEL_nop(void)
|
|||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
BOOL WINAPI SwitchToThread(VOID)
|
||||
{
|
||||
Sleep(0);
|
||||
return 1;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue