mirror of https://github.com/c-ares/c-ares.git
Silence TSAN, lock before checking `ares_event_thread::isup` (#915)
TSAN is warning about a thread concurrency issue that doesn't actually matter if the operation isn't atomic as its an optimization in this code path to skip timeout processing if we're shutting down due to ares_destroy(). Fix By: Jiwoo Park (@jimmy-park)v1.31
parent
897f4fa689
commit
81b1f7d29b
1 changed files with 5 additions and 3 deletions
Loading…
Reference in new issue