wolfMQTT is a small, fast, portable MQTT client implementation, including support for TLS 1.3.
GNU General Public License v2.0
518
stars
156
forks
source link
Fix Helgrind thread errors with enable-tls, and enable-curl. #395
Closed
philljj closed 4 months ago
Fix Helgrind thread errors around simultaneous reads and writes from different threads:
tls.timeout_ms
member into separatetls.timeout_ms_read
andtls.timeout_ms_write
members to prevent simultaneous assignment or overwriting.mqttcurl_test_nonblock()
into separate read and write functions to fix simultaneous updates from different read/write threads.