| 198 | class reverse_lock { |
| 199 | public: |
| 200 | explicit reverse_lock(UniqueLock& _lock, const char* _guardname, const char* _file, int _line) : lock(_lock), file(_file), line(_line) { |
| 201 | CheckLastCritical((void*)lock.mutex(), lockname, _guardname, _file, _line); |
| 202 | lock.unlock(); |
| 203 | LeaveCritical(); |
| 204 | lock.swap(templock); |
| 205 | } |
| 206 | |
| 207 | ~reverse_lock() { |
| 208 | templock.swap(lock); |
nothing calls this directly
no test coverage detected