]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: task: put barriers after each write to curr_task
authorWilly Tarreau <w@1wt.eu>
Fri, 17 May 2019 09:46:04 +0000 (11:46 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 17 May 2019 15:16:20 +0000 (17:16 +0200)
commit01f3489752ec6ab4279fe975af0053c75a2a56fc
treef1213992096d19616d9c33db1abc50b433508196
parent38171daf21f687067ff93d7b557a40527f699f5b
MINOR: task: put barriers after each write to curr_task

This one may be watched by signal handlers, we don't want the compiler
to optimize its assignment away at the end of the loop and leave some
wandering pointers there.
src/task.c