MCPcopy Create free account
hub / github.com/ElementsProject/elements / ~reverse_lock

Method ~reverse_lock

src/sync.h:207–211  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

205 }
206
207 ~reverse_lock() {
208 templock.swap(lock);
209 EnterCritical(lockname.c_str(), file.c_str(), line, lock.mutex());
210 lock.lock();
211 }
212
213 private:
214 reverse_lock(reverse_lock const&);

Callers

nothing calls this directly

Calls 3

lockMethod · 0.80
EnterCriticalFunction · 0.70
swapMethod · 0.45

Tested by

no test coverage detected