commit | bdcd32598f4f10a9cdf266f5375b1600b9f8a9a3 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Wed Jun 22 09:19:46 2022 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Fri Jul 01 19:15:14 2022 +0200 |
tree | 43ffeacda885d704deb0548aac2f1cf66b596728 | |
parent | 8e079cdd4432946abd7d22d44b5a1090b35871c4 [diff] |
MINOR: thread: only use atomic ops to touch the flags The thread flags are touched a little bit by other threads, e.g. the STUCK flag may be set by other ones, and they're watched a little bit. As such we need to use atomic ops only to manipulate them. Most places were already using them, but here we generalize the practice. Only ha_thread_dump() does not change because it's run under isolation.