Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LouisBrunner/valgrind-macos
/ get
Method
get
drd/tests/annotate_smart_pointer.cpp:279–286 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
277
m_count = -1;
278
}
279
int get() const
280
{
281
int result;
282
m_mutex.Lock();
283
result = m_count;
284
m_mutex.Unlock();
285
return result;
286
}
287
int post_increment()
288
{
289
int result;
Callers
nothing calls this directly
Calls
2
Lock
Method · 0.45
Unlock
Method · 0.45
Tested by
no test coverage detected