On 09/09/16 06:39, [email protected] wrote:
hello!

I use the c++ broker and c++ client api(version 0.34);the broker running on
centos,and the client on windows server 2008;
if the network is not stability between client and broker , I found the
receive fetch() function maybe block forever.

eg:
        Receiver receiver;
        Message message;
        while(receiver.fetch(message,Duration::IMMEDIATE))
        {
            // ...
        }

Can you get a thread dump when it is blocked? Is the process using any CPU at that point?


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to