N3DS: Backport semaphore fixes from #6776.
This commit is contained in:
1 parent
b79732b967
commit
e580e087ff
4 files changed
+42
-25
No files matched your search
@@ -210,6 +210,8 @@ TestOverheadContended(SDL_bool try_wait)
|
||||
}
|
||||
/* Make sure threads consumed everything */
|
||||
while (SDL_SemValue(sem)) {
|
||||
/* Friendlier with cooperative threading models */
|
||||
SDL_Delay(1);
|
||||
}
|
||||
}
|
||||
end_ticks = SDL_GetTicks();
|
||||
|
||||
Reference in new issue
Block a user