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

Method unlock_impl

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

Source from the content-addressed store, hash-verified

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:
36 template <size_t... Is> void lock_impl(std::index_sequence<Is...>) { std::lock(std::get<Is>(tuple_)->mutex_...); }

Callers

nothing calls this directly

Calls 1

unlockMethod · 0.80

Tested by

no test coverage detected