Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Tencent/mars
/ AddRef
Method
AddRef
mars/comm/windows/thread/thread.h:184–184 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
182
}
183
184
void AddRef() { count++;}
185
void RemoveRef(ScopedSpinLock& _lock) {
186
ASSERT(0 < count);
187
ASSERT(_lock.islocked());
Callers
4
Thread
Method · 0.45
start
Method · 0.45
start_after
Method · 0.45
start_periodic
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected