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

Method readyBarrier

lib/cpp/test/TNonblockingServerTest.cpp:96–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

94 }
95
96 void readyBarrier() {
97 // block until server is listening and ready to accept connections
98 Guard g(mutex_);
99 while (!listenHandler->ready_) {
100 listenHandler->listenMonitor_.wait();
101 }
102 }
103 private:
104 void startServer(int retry_count) {
105 try {

Callers 1

startServerMethod · 0.45

Calls 1

waitMethod · 0.45

Tested by

no test coverage detected