MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / InterlockedAdd

Function InterlockedAdd

Source/Engine/Platform/Web/WebPlatform.h:62–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60 return __sync_sub_and_fetch(dst, 1);
61 }
62 FORCE_INLINE static int64 InterlockedAdd(int64 volatile* dst, int64 value)
63 {
64 return __sync_fetch_and_add(dst, value);
65 }
66 FORCE_INLINE static int32 AtomicRead(int32 const volatile* dst)
67 {
68#ifdef __EMSCRIPTEN_PTHREADS__

Callers 13

AddGroupMemoryFunction · 0.50
SubGroupMemoryFunction · 0.50
TickProfilerMemoryFunction · 0.50
OnMemoryAllocMethod · 0.50
OnMemoryFreeMethod · 0.50
OnGroupUpdateMethod · 0.50
AddMethod · 0.50
AddDefaultMethod · 0.50
ConcurrentBufferClass · 0.50
AddZeroedMethod · 0.50
InitMethod · 0.50
SaveToAssetMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected