MCPcopy Create free account
hub / github.com/deathkiller/jazz2-native / InterlockedOperationBarrier

Function InterlockedOperationBarrier

Sources/nCine/Threading/Thread.cpp:45–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43{
44#if !defined(DEATH_TARGET_MSVC)
45 DEATH_ALWAYS_INLINE void InterlockedOperationBarrier()
46 {
47# if defined(DEATH_TARGET_ARM) || defined(DEATH_TARGET_RISCV)
48 __sync_synchronize();
49# endif
50 }
51#endif
52
53 template<typename T>

Callers 1

ExchangePointerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected