MCPcopy Create free account
hub / github.com/MayaPosch/NymphCast / atomicInc

Method atomicInc

src/server/angelscript/angelscript/source/as_atomic.cpp:64–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62}
63
64asDWORD asCAtomic::atomicInc()
65{
66 // A very high ref count is highly unlikely. It most likely a problem with
67 // memory that has been overwritten or is being accessed after it was deleted.
68 asASSERT(value < 1000000);
69
70 return asAtomicInc((int&)value);
71}
72
73asDWORD asCAtomic::atomicDec()
74{

Callers 8

AddRefMethod · 0.80
AddRefMethod · 0.80
AddRefInternalMethod · 0.80
AddRefMethod · 0.80
AddRefMethod · 0.80
AddRefInternalMethod · 0.80
AddRefMethod · 0.80
AddRefMethod · 0.80

Calls 1

asAtomicIncFunction · 0.85

Tested by

no test coverage detected