MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/PhysX / atomicDecrement

Function atomicDecrement

physx/source/foundation/src/unix/PsUnixAtomic.cpp:58–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56}
57
58int32_t atomicDecrement(volatile int32_t* val)
59{
60 return __sync_sub_and_fetch(val, 1);
61}
62
63int32_t atomicAdd(volatile int32_t* val, int32_t delta)
64{

Callers 10

unlockReaderMethod · 0.70
decrReferenceMethod · 0.50
startSimulationMethod · 0.50
resolveRowMethod · 0.50
onActorDetachMethod · 0.50
stopWriteMethod · 0.50
stopReadMethod · 0.50
removeReferenceMethod · 0.50
releaseMethod · 0.50
decRefCountMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected