]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: task: keep a pointer to the currently running task
authorWilly Tarreau <w@1wt.eu>
Sun, 26 Nov 2017 09:08:06 +0000 (10:08 +0100)
committerWilly Tarreau <w@1wt.eu>
Sun, 26 Nov 2017 10:10:50 +0000 (11:10 +0100)
commit6d1222ce7392423c54be21d2c7ebf4adc87a6a5d
tree1f96d83433ac2f675a0e1f7127ecb259823fe76d
parent53bae85b8e9e8333e9a232fcd9a8aa085471f6cb
MINOR: task: keep a pointer to the currently running task

Very often when debugging, the current task's pointer isn't easy to
recover (eg: from a core file). Let's keep a copy of it, it will
likely help, especially with threads.
src/task.c