MCPcopy Create free account
hub / github.com/comaps/comaps / ShutdownAndJoin

Method ShutdownAndJoin

generator/raw_generator_writer.cpp:77–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75}
76
77void RawGeneratorWriter::ShutdownAndJoin()
78{
79 if (m_thread.joinable())
80 {
81 m_queue->Push({});
82 m_thread.join();
83 }
84}
85} // namespace generator

Callers 1

Calls 3

joinableMethod · 0.80
PushMethod · 0.45
joinMethod · 0.45

Tested by

no test coverage detected