Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/HelenOS/helenos
/ increment
Method
increment
uspace/lib/cpp/src/refcount_obj.cpp:33–36 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
31
namespace std::aux
32
{
33
void refcount_obj::increment()
34
{
35
__atomic_add_fetch(&refcount_, 1, __ATOMIC_ACQ_REL);
36
}
37
38
void refcount_obj::increment_weak()
39
{
Callers
8
shared_ptr
Method · 0.80
shared_ptr
Class · 0.80
get_future
Method · 0.80
future_base
Method · 0.80
future_base
Class · 0.80
get_future
Method · 0.80
get_future
Method · 0.80
get_future
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected