MCPcopy Create free account
hub / github.com/HelenOS/helenos / increment_weak

Method increment_weak

uspace/lib/cpp/src/refcount_obj.cpp:38–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36 }
37
38 void refcount_obj::increment_weak()
39 {
40 __atomic_add_fetch(&weak_refcount_, 1, __ATOMIC_ACQ_REL);
41 }
42
43 bool refcount_obj::decrement()
44 {

Callers 2

weak_ptrMethod · 0.80
weak_ptrClass · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected