MCPcopy Create free account
hub / github.com/Snapchat/Valdi / lock

Method lock

valdi_core/src/valdi_core/cpp/Utils/TrackedLock.cpp:32–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

TrackedLockMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected