Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
58
int32_t atomicDecrement(volatile int32_t* val)
59
{
60
return __sync_sub_and_fetch(val, 1);
61
}
62
63
int32_t atomicAdd(volatile int32_t* val, int32_t delta)
64
{
Callers
10
unlockReader
Method · 0.70
decrReference
Method · 0.50
startSimulation
Method · 0.50
resolveRow
Method · 0.50
onActorDetach
Method · 0.50
stopWrite
Method · 0.50
stopRead
Method · 0.50
removeReference
Method · 0.50
release
Method · 0.50
decRefCount
Method · 0.50
Calls
no outgoing calls
Tested by
no test coverage detected