]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: tasks: make current_queue an index instead of a pointer
authorWilly Tarreau <w@1wt.eu>
Wed, 24 Jun 2020 07:19:50 +0000 (09:19 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 24 Jun 2020 10:21:26 +0000 (12:21 +0200)
commitc0a08ba2df49e7096a25d7082699b389ee1d4776
tree5494895c02e53bdef4f6ffb5e3a765a343aa37f4
parent3ef7a190b0d683aaea95980d69ca1803231b3140
MINOR: tasks: make current_queue an index instead of a pointer

It will be convenient to have the tasklet queue number soon, better make
current_queue an index rather than a pointer to the queue. When not currently
running (e.g. from I/O), the index is -1.
include/haproxy/task-t.h
include/haproxy/task.h
src/task.c