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

Function atomicIncrement

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

Source from the content-addressed store, hash-verified

51}
52
53int32_t atomicIncrement(volatile int32_t* val)
54{
55 return __sync_add_and_fetch(val, 1);
56}
57
58int32_t atomicDecrement(volatile int32_t* val)
59{

Callers 14

lockReaderMethod · 0.70
signalQuitMethod · 0.70
addReferenceMethod · 0.50
submitNamedTaskMethod · 0.50
submitUnnamedTaskMethod · 0.50
finishBeforeMethod · 0.50
startAfterMethod · 0.50
onActorAttachMethod · 0.50
startWriteMethod · 0.50
startReadMethod · 0.50
removeReferenceMethod · 0.50
addReferenceMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected