I have a working Thrift server on C++ and Linux. Clients can communicate
with the server and everything works well. The C++ server class is a
TThreadedServer running serve().

What is the correct way to shut down this server?

The question seems obvious but I haven't been able to find an answer in the
Thrift documentation. This example code suggests that it is possible to
exit the server (there is a cout "Done") but without explanation of how:

https://gitbox.apache.org/repos/asf?p=thrift.git;a=blob;f=tutorial/cpp/CppServer.cpp;hb=HEAD

Shawn Y.

Reply via email to