Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenStarbound/OpenStarbound
/ MLocker
Method
MLocker
source/core/StarThread.hpp:319–323 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
317
318
template <typename MutexType>
319
MLocker<MutexType>::MLocker(MutexType& ref, bool l)
320
: m_mutex(ref), m_locked(false) {
321
if (l)
322
lock();
323
}
324
325
template <typename MutexType>
326
MLocker<MutexType>::~MLocker() {
Callers
nothing calls this directly
Calls
1
lock
Function · 0.85
Tested by
no test coverage detected