MCPcopy Create free account
hub / github.com/LouisBrunner/valgrind-macos / AtomicInt32

Method AtomicInt32

drd/tests/annotate_smart_pointer.cpp:51–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49{
50public:
51 AtomicInt32(const int value = 0) : m_value(value) { }
52 ~AtomicInt32() { }
53 LONG operator++() { return InterlockedIncrement(&m_value); }
54 LONG operator--() { return InterlockedDecrement(&m_value); }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected