Optimize updating actor rendering entry with better thread locking that support async writes on actor update
This commit is contained in:
@@ -18,7 +18,7 @@ RETRY:
|
||||
{
|
||||
// Someone else is doing opposite operation so wait for it's end
|
||||
// TODO: use ConditionVariable+CriticalSection to prevent active-waiting
|
||||
Platform::Sleep(1);
|
||||
Platform::Sleep(0);
|
||||
goto RETRY;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user