Add Platform::Yield
This commit is contained in:
@@ -748,6 +748,11 @@ void AndroidPlatform::Sleep(int32 milliseconds)
|
||||
usleep(milliseconds * 1000);
|
||||
}
|
||||
|
||||
void AndroidPlatform::Yield()
|
||||
{
|
||||
pthread_yield();
|
||||
}
|
||||
|
||||
double AndroidPlatform::GetTimeSeconds()
|
||||
{
|
||||
struct timespec ts;
|
||||
|
||||
Reference in New Issue
Block a user