]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: tasks: Don't set the TASK_RUNNING flag when adding in the tasklet list.
authorOlivier Houchard <ohouchard@haproxy.com>
Wed, 17 Apr 2019 17:14:56 +0000 (19:14 +0200)
committerOlivier Houchard <cognet@ci0.org>
Wed, 17 Apr 2019 17:28:01 +0000 (19:28 +0200)
commit0c7a4b6371160a8fb69d2e284f0a402c7e06d99f
treee0e6a059e9e4402f49f713a32856a5499e520325
parent4a1be0c6d6b62a5f6912ce362eee34b9b7b07d7d
MINOR: tasks: Don't set the TASK_RUNNING flag when adding in the tasklet list.

Now that TASK_QUEUED is enforced, there's no need to set TASK_RUNNING when
removing the task from the runqueue to add it to the tasklet list. The flag
will only be set right before we run the task.
src/task.c