MCPcopy 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

ThreadMethod · 0.45
startMethod · 0.45
start_afterMethod · 0.45
start_periodicMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected