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

Ben Craig commented on THRIFT-3225:
-----------------------------------

This might be right.  I'm going to try to dig up (and main line) some TPipe 
tests.  I'll then stare at the code some more.  At first glance though, it 
seems reasonable.

> Fix TPipeServer unpredictable behavior on interrupt()
> -----------------------------------------------------
>
>                 Key: THRIFT-3225
>                 URL: https://issues.apache.org/jira/browse/THRIFT-3225
>             Project: Thrift
>          Issue Type: Bug
>          Components: C++ - Library
>    Affects Versions: 0.9.2
>         Environment: Windows
>            Reporter: Paweł Janicki
>            Assignee: Paweł Janicki
>            Priority: Critical
>              Labels: patch
>             Fix For: 0.9.3
>
>         Attachments: 
> 0001-THRIFT-3225.-cpp-Fix-TPipeServer-unpredictable-behav.patch, 
> 0002-THRIFT-3225.-cpp-Fix-TPipeServer-unpredictable-behav.patch
>
>
> If TPipeServer::interrupt() is invoked from other thread than the thread that 
> is blocked on TPipeServer::serve() the handle may be closed by interrupting 
> thread while still used by servicing thread.



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

Reply via email to