| 1674 | { |
| 1675 | thread* _th; |
| 1676 | ScopedLockHead(waitq* waitq) : |
| 1677 | _th(indirect_lock(&waitq->q.th)) { } |
| 1678 | operator thread*() { return _th; } |
| 1679 | thread* operator->() { return _th; } |
| 1680 | ~ScopedLockHead() { if (_th) _th->lock.unlock(); } |
nothing calls this directly
no test coverage detected