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

Method join

lib/cpp/src/thrift/server/TNonblockingServer.cpp:1511–1523  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1509}
1510
1511void TNonblockingIOThread::join() {
1512 // If this was a thread created by a factory (not the thread that called
1513 // serve()), we join() it to make sure we shut down fully.
1514 if (thread_) {
1515 try {
1516 // Note that it is safe to both join() ourselves twice, as well as join
1517 // the current thread as the pthread implementation checks for deadlock.
1518 thread_->join();
1519 } catch (...) {
1520 // swallow everything
1521 }
1522 }
1523}
1524}
1525}
1526} // apache::thrift::server

Callers 2

serveMethod · 0.45
drainDeadClientsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected