mirror of
https://github.com/yuzu-emu/FasTC.git
synced 2025-01-08 05:55:35 +00:00
Remove unused ResetTestAndSet function
This commit is contained in:
parent
da44e58160
commit
9c48aaa7f2
|
@ -1531,10 +1531,6 @@ namespace BC7C
|
|||
static uint32 FetchAndAdd(uint32 *x) {
|
||||
return InterlockedIncrement(x)-1;
|
||||
}
|
||||
|
||||
static void ResetTestAndSet(uint32 *x) {
|
||||
*x = 0;
|
||||
}
|
||||
#elif defined HAS_GCC_ATOMICS
|
||||
static uint32 TestAndSet(uint32 *x) {
|
||||
return __sync_lock_test_and_set(x, 1);
|
||||
|
@ -1543,10 +1539,6 @@ namespace BC7C
|
|||
static uint32 FetchAndAdd(uint32 *x) {
|
||||
return __sync_fetch_and_add(x, 1);
|
||||
}
|
||||
|
||||
static void ResetTestAndSet(uint32 *x) {
|
||||
__sync_lock_release(x);
|
||||
}
|
||||
#endif
|
||||
|
||||
// Variables used for synchronization in threadsafe implementation.
|
||||
|
|
Loading…
Reference in a new issue