diff options
author | 2021-04-04 22:35:43 +1000 | |
---|---|---|
committer | 2021-04-13 15:47:31 +1000 | |
commit | 1df85964a33a4ff037aa60915f3d1f24140a2a62 (patch) | |
tree | a476a2747aa2e519a4fd9c1d70570000bafb7619 /gnu/llvm/clang/lib/CodeGen/CodeGenPGO.cpp | |
parent | Run all timeouts in process context (diff) | |
download | wireguard-openbsd-1df85964a33a4ff037aa60915f3d1f24140a2a62.tar.xz wireguard-openbsd-1df85964a33a4ff037aa60915f3d1f24140a2a62.zip |
Replace timer lock with SMR
The lock was not used to protect any data structures, it was purely to
ensure race-free setting of t_disabled. That is, that no other thread
was halfway through any wg_timers_run_* function. With smr_* we can
ensure this is still the case by calling smr_barrier() after setting
t_disabled.
Diffstat (limited to 'gnu/llvm/clang/lib/CodeGen/CodeGenPGO.cpp')
0 files changed, 0 insertions, 0 deletions