Add Platform::Yield
This commit is contained in:
@@ -400,6 +400,11 @@ void Win32Platform::Sleep(int32 milliseconds)
|
||||
WaitForSingleObject(timer, INFINITE);
|
||||
}
|
||||
|
||||
void Win32Platform::Yield()
|
||||
{
|
||||
SwitchToThread();
|
||||
}
|
||||
|
||||
double Win32Platform::GetTimeSeconds()
|
||||
{
|
||||
LARGE_INTEGER counter;
|
||||
|
||||
Reference in New Issue
Block a user