You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Chris Stylianou (JIRA)" <ji...@apache.org> on 2014/04/04 10:07:20 UTC
[jira] [Commented] (THRIFT-2441) Cannot shutdown TThreadedServer
when clients are still connected
[ https://issues.apache.org/jira/browse/THRIFT-2441?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13959749#comment-13959749 ]
Chris Stylianou commented on THRIFT-2441:
-----------------------------------------
This looks like a possible solution: http://mail-archives.apache.org/mod_mbox/incubator-thrift-dev/200907.mbox/raw/%3CFA84B8053078CD418E46F66E2246A54C02912BF6@UKDCDX01.cbs.ad.cbs.net%3E/2
> 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
>
> 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.2#6252)