MCPcopy Create free account
hub / github.com/chen3feng/toft / RwLock

Method RwLock

system/threading/rwlock.cpp:12–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10namespace toft {
11
12RwLock::RwLock()
13{
14 // Note: default rwlock is prefer reader
15 TOFT_CHECK_PTHREAD_ERROR(pthread_rwlock_init(&m_lock, NULL));
16}
17
18RwLock::RwLock(Kind kind)
19{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected