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:
Christian Salvasohn <csalvasohn@gmx.de>
parent
3cdeb595
Please register or sign in to comment