Commit 40779875 authored by Christian Salvasohn's avatar Christian Salvasohn
Browse files

fix data race mosquitto_loop function



next_msg_out must be protected with the msgtime_mutex
as done everywhere else in the code else there is a data race
e.g. if mosquitto_publish is called from another thread

Signed-off-by: default avatarChristian Salvasohn <csalvasohn@gmx.de>
parent 3cdeb595
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment