AssertLock asserts whether the lock is being held.
()
| 38 | |
| 39 | // AssertLock asserts whether the lock is being held. |
| 40 | func (s *SafeMutex) AssertLock() { |
| 41 | AssertTrue(s.AlreadyLocked()) |
| 42 | } |
| 43 | |
| 44 | // RLock holds the reader lock. |
| 45 | func (s *SafeMutex) RLock() { |
no test coverage detected