MCPcopy Create free account
hub / github.com/MaskRay/ccls / ~MultiQueueLock

Method ~MultiQueueLock

src/threaded_queue.hh:31–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29template <typename... Queue> struct MultiQueueLock {
30 MultiQueueLock(Queue... lockable) : tuple_{lockable...} { lock(); }
31 ~MultiQueueLock() { unlock(); }
32 void lock() { lock_impl(typename std::index_sequence_for<Queue...>{}); }
33 void unlock() { unlock_impl(typename std::index_sequence_for<Queue...>{}); }
34

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected