[ https://issues.apache.org/jira/browse/THRIFT-3855?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15519537#comment-15519537 ]
ASF GitHub Bot commented on THRIFT-3855: ---------------------------------------- GitHub user asm0dey opened a pull request: https://github.com/apache/thrift/pull/1094 Fixes THRIFT-3855 Replaced complex CompareAndSwapInt64 with syncOnce. You can merge this pull request into a Git repository by running: $ git pull https://github.com/asm0dey/thrift master Alternatively you can review and apply these changes as the patch at: https://github.com/apache/thrift/pull/1094.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 #1094 ---- commit 762c2573e2275307b26ac78271b66d37065ed5f9 Author: Paul <pavel.finkelsht...@gmail.com> Date: 2016-09-24T19:47:58Z Fixes THRIFT-3855 Replaced complex CompareAndSwapInt64 with syncOnce. ---- > In the go simple server, if Stop() is called multiple times it hangs > -------------------------------------------------------------------- > > Key: THRIFT-3855 > URL: https://issues.apache.org/jira/browse/THRIFT-3855 > Project: Thrift > Issue Type: Bug > Components: Go - Library > Affects Versions: 0.9.3 > Reporter: James E. King, III > Assignee: James E. King, III > Priority: Minor > Fix For: 0.10.0 > > > From the submitter huaiwan: > {quote} > huaiyun commented 18 hours ago > When Stop() is called twice or more, and no new connection accepted from > AcceptLoop(), the Stop() will be blocked because the quit channel is full. > {quote} -- This message was sent by Atlassian JIRA (v6.3.4#6332)