MCPcopy Create free account
hub / github.com/apache/thrift / preServe

Method preServe

test/cpp/src/StressTest.cpp:243–247  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

241public:
242 TStartObserver() : awake_(false) {}
243 void preServe() override {
244 apache::thrift::concurrency::Synchronized s(m_);
245 awake_ = true;
246 m_.notifyAll();
247 }
248 void waitForService() {
249 apache::thrift::concurrency::Synchronized s(m_);
250 while (!awake_)

Callers

nothing calls this directly

Calls 1

notifyAllMethod · 0.45

Tested by

no test coverage detected