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

Method apply

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

Source from the content-addressed store, hash-verified

153 }
154
155 template <typename Fn> void apply(Fn fn) {
156 std::lock_guard<std::mutex> lock(mutex_);
157 fn(queue_);
158 }
159
160 mutable std::mutex mutex_;
161

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected