qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jiri Daněk (JIRA) <j...@apache.org>
Subject [jira] [Created] (PROTON-1628) [cpp] Stopping container in on_container_start will hang
Date Fri, 13 Oct 2017 15:03:00 GMT
Jiri Daněk created PROTON-1628:
----------------------------------

             Summary: [cpp] Stopping container in on_container_start will hang
                 Key: PROTON-1628
                 URL: https://issues.apache.org/jira/browse/PROTON-1628
             Project: Qpid Proton
          Issue Type: Bug
          Components: cpp-binding
    Affects Versions: proton-c-0.18.0
         Environment: Linux, epoll io, master tip at 72b7ea0508e94aae3e5d9470293bc5c7e8250a45
    PROTON-1592: [python] restore original tx_recv.py example

            Reporter: Jiri Daněk
            Assignee: Cliff Jansen


{code}
class immediate_stop_tester : public proton::messaging_handler {
public:
    void on_container_start(proton::container &c) PN_CPP_OVERRIDE {
        c.stop();
    }
};

int test_container_immediate_stop() {
    immediate_stop_tester t;
    proton::container(t).run();  // will hang
    return 0;
}
{code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message