| 10 | namespace toft { |
| 11 | |
| 12 | RwLock::RwLock() |
| 13 | { |
| 14 | // Note: default rwlock is prefer reader |
| 15 | TOFT_CHECK_PTHREAD_ERROR(pthread_rwlock_init(&m_lock, NULL)); |
| 16 | } |
| 17 | |
| 18 | RwLock::RwLock(Kind kind) |
| 19 | { |
nothing calls this directly
no outgoing calls
no test coverage detected