MCPcopy Create free account
hub / github.com/MaskRay/ccls / lock

Method lock

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

Source from the content-addressed store, hash-verified

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
35private:

Callers 1

lockFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected