Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Paho » Paho C messageArrived callback
Paho C messageArrived callback [message #1753826] Fri, 10 February 2017 13:13
Manav Mehta is currently offline Manav MehtaFriend
Messages: 4
Registered: December 2016
Junior Member
I have a question on the Paho MQTT C client's messageArrived callback.

Does the Paho C client sequentially invoke the messageArrived callback so that it waits for one message to be processed (i.e. for the callback handler to return), before invoking the callback for the next message; or can it invoke them in parallel such that my application could have multiple messageArrived instances running in different threads?

I need to know whether or not to write thread-safe code inside my callback handler.
Previous Topic:C client connection time
Next Topic:Retrieve topic name from subscribe message
Goto Forum:

Current Time: Sat Oct 24 17:36:15 GMT 2020

Powered by FUDForum. Page generated in 0.01259 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top