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.29
parent
cb5f861a08
commit
10b7bc7034
1 changed files with 5 additions and 3 deletions
Loading…
Reference in new issue