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.30
parent
a8cbf160d5
commit
bac27ee7b3
1 changed files with 5 additions and 3 deletions
Loading…
Reference in new issue