xenia/src/xenia
Sandy Carter 4280a6451d [threading] Simplify and test Fence
Remove atomic boolean in fence. Variable signaled_ is already protected
by mutex.
Remove wait loop with single predicate wait protected with mutex.

Add Fence Signal and Wait tests
Test signaling without waiting.
Test signaling before waiting.
Test signaling twice before waiting.
Test synchronizing threads with fence.

Few REQUIRES were used to test as there are no return codes.
A failing test may hang indefinitely or cause a segfault which would still
register as a fail.
2020-11-15 11:12:05 -06:00
..
app Premake: Reorder links to speed up building. 2020-11-14 13:30:06 -06:00
apu [SDL] Add global helper to setup the library. 2020-04-23 15:44:58 -05:00
base [threading] Simplify and test Fence 2020-11-15 11:12:05 -06:00
cpu [CPU] std::sort compare: satisfy comp(a,a)==false 2020-11-14 13:30:06 -06:00
debug/ui C++17ification. 2020-04-07 16:09:41 -05:00
gpu [GPU] Scissor in draw_util 2020-11-15 16:34:23 +03:00
helper/sdl [SDL] Add global helper to setup the library. 2020-04-23 15:44:58 -05:00
hid Premake: Reorder links to speed up building. 2020-11-14 13:30:06 -06:00
kernel [Kernel] Remove remaining SHIM usage from xam_net (#1671) 2020-11-14 19:30:56 +03:00
tools/api-scanner Replace all gflag implementations with cvar implementations 2019-08-03 02:34:07 +02:00
ui [D3D12] Cleanup: remove inline 2020-11-14 17:02:09 +03:00
vfs [Kernel/VFS] Cleanup info query/set+sector size. 2020-04-20 16:08:02 -05:00
config.cc [Core] Space sections better when saving config. 2020-04-13 12:57:14 -05:00
config.h C++17ification. 2020-04-07 16:09:41 -05:00
emulator.cc [Core] Use UTF8-aware lower. 2020-04-13 12:57:14 -05:00
emulator.h C++17ification. 2020-04-07 16:09:41 -05:00
memory.cc [Memory] Fix Protect range calculation 2020-09-01 12:44:37 +03:00
memory.h C++17ification. 2020-04-07 16:09:41 -05:00
premake5.lua C++17ification. 2020-04-07 16:09:41 -05:00
xbox.h [Base] Use enum instead of define for X_PAGE_* 2020-08-27 14:55:02 +03:00