| 30 | } |
| 31 | std::this_thread::sleep_for(std::chrono::milliseconds(1)); |
| 32 | } |
| 33 | } |
| 34 | |
| 35 | TrackedLock::TrackedLock(TrackedLock&& other) noexcept : _mutex(other._mutex), _owns(other._owns) { |
| 36 | other._mutex = nullptr; |
| 37 | other._owns = false; |
| 38 | } |
| 39 | |
| 40 | TrackedLock::~TrackedLock() { |