You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Super good MQTT library - kudos!
It appears that the library is not thread safe.
Introducing lock protecting buffer may be difficult while supporting all hardware .
I propose to solve this by documentation:
"The pubsub library is not thread safe, in case several threads use the library following methods need to be protected
from concurrent use:
connect()
disconnect()
publish()
loop()"
The text was updated successfully, but these errors were encountered:
Super good MQTT library - kudos!
It appears that the library is not thread safe.
Introducing lock protecting buffer may be difficult while supporting all hardware .
I propose to solve this by documentation:
"The pubsub library is not thread safe, in case several threads use the library following methods need to be protected
from concurrent use:
The text was updated successfully, but these errors were encountered: