Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Xtra-Computing/thundersvm
/ ScopedLock
Method
ScopedLock
include/thundersvm/util/log.h:1010–1013 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1008
class ScopedLock : base::NoCopy {
1009
public:
1010
explicit ScopedLock(M& mutex) {
1011
m_mutex = &mutex;
1012
m_mutex->lock();
1013
}
1014
1015
virtual ~ScopedLock(void) {
1016
m_mutex->unlock();
Callers
nothing calls this directly
Calls
1
lock
Method · 0.45
Tested by
no test coverage detected