|Re: [paho-dev] Python client: threaded interface problem|
are you using some locks in our callbacks ? There is some issue with locks/deadlock when callbacks are using locks ( and ). I don't yet had time to look at them, but I want to improve locks for the next release.
Your workaround may produce error, since loop_start should not be
called if you manually call loop() since this may unexpected error
Before I had time to looks at those locks issue, if your workaround which call loop() works, you may drop loop_start() and only rely on calling loop() yourself. But if are going this way, you should make sure loop() is called at least every keepalive and enough to process incoming message. So, if your client is only sending message, and more than 1 per minutes, your are fine.
Le 22/03/2019 à 20:28, Ben Kinsella a écrit :
Back to the top