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

Method readyBarrier

lib/cpp/test/TNonblockingSSLServerTest.cpp:168–174  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

166 }
167
168 void readyBarrier() {
169 // block until server is listening and ready to accept connections
170 Guard g(mutex_);
171 while (!listenHandler->ready_) {
172 listenHandler->listenMonitor_.wait();
173 }
174 }
175 private:
176 void startServer(int retry_count) {
177 try {

Callers 1

startServerMethod · 0.45

Calls 1

waitMethod · 0.45

Tested by

no test coverage detected