[ 
https://issues.apache.org/jira/browse/THRIFT-2441?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14481296#comment-14481296
 ] 

ASF GitHub Bot commented on THRIFT-2441:
----------------------------------------

GitHub user jeking3 opened a pull request:

    https://github.com/apache/thrift/pull/428

    Bugfix/thrift 3081 consolidate client processing loops

    The pull request consolidates the client processing loop contained within 
TSimpleServer, TThreadedServer, TThreadPoolServer that were all similar but not 
functionally identical.  This will improve maintainability.
    
    This pull request and the open one for THRIFT-2441 will collide slightly.  
Whichever one gets pulled in first, I will update the other...

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/jeking3/thrift 
bugfix/THRIFT-3081-consolidate-client-processing-loops

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/thrift/pull/428.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #428
    
----
commit 44713020d03c38776432642d0798ea8d9f3e4168
Author: Jim King <[email protected]>
Date:   2015-04-05T16:32:03Z

    [THRIFT-3081] consolidate C++ client processing loops

commit 3cc72ce101f2214b5b9698473523a93820219388
Author: Jim King <[email protected]>
Date:   2015-04-06T15:10:50Z

    Merge branch 'master' of https://github.com/apache/thrift into 
bugfix/THRIFT-3081-consolidate-client-processing-loops

----


> Cannot shutdown TThreadedServer when clients are still connected
> ----------------------------------------------------------------
>
>                 Key: THRIFT-2441
>                 URL: https://issues.apache.org/jira/browse/THRIFT-2441
>             Project: Thrift
>          Issue Type: Bug
>          Components: C++ - Library
>    Affects Versions: 0.9.1
>            Reporter: Chris Stylianou
>            Assignee: Ben Craig
>         Attachments: THRIFT-2441-prelim.patch
>
>
> When calling stop() on the TThreadedServer no interrupts are sent to the 
> client threads. This means the stop() call blocks on tasksMonitor.wait() 
> until all client naturally disconnect.
> How can we tell the client thread connections to close/exit during the 
> TThreadedServer::stop() call?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to