thrift: implement TNonblockingServer::stop()

----------------------------------------------

                 Key: THRIFT-1289
                 URL: https://issues.apache.org/jira/browse/THRIFT-1289
             Project: Thrift
          Issue Type: Improvement
          Components: C++ - Library
            Reporter: Dave Watson
            Priority: Minor
         Attachments: 0016-thrift-implement-TNonblockingServer-stop.patch

>From e92b398e5bef8eb652969308862f39d9a04a589f Mon Sep 17 00:00:00 2001
From: Adam Simpkins <[email protected]>
Date: Tue, 6 Apr 2010 20:43:20 +0000
Subject: [PATCH 16/33] thrift: implement TNonblockingServer::stop()

Summary:
Previously calling stop() on a TNonblockingServer did nothing.  Now it
correctly causes serve() to exit.

Test Plan:
Tested with the test code in [some fb unittests].  This causes the
TNonblockingServer tests to no longer hang trying to stop the server.

Revert Plan:
OK


Conflicts:

        lib/cpp/src/server/TNonblockingServer.cpp
---
 lib/cpp/src/server/TNonblockingServer.cpp |   42 ++++++++++++++++++++++++++++-
 lib/cpp/src/server/TNonblockingServer.h   |    5 +++
 2 files changed, 46 insertions(+), 1 deletions(-)



--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to