haproxy/include
Emeric Brun 0194897e54 MAJOR: task: task scheduler rework.
In order to authorize call of task_wakeup on running task:
- from within the task handler itself.
- in futur, from another thread.

The lookups on runqueue and waitqueue are re-worked
to prepare multithread stuff.

If task_wakeup is called on a running task, the woken
message flags are savec in the 'pending_state' attribute of
the state. The real wakeup is postponed at the end of the handler
process and the woken messages are copied from pending_state
to the state attribute of the task.

It's important to note that this change will cause a very minor
(though measurable) performance loss but it is necessary to make
forward progress on a multi-threaded scheduler. Most users won't
ever notice.
2017-06-27 14:38:02 +02:00
..
common BUG/MINOR: buffers: Fix bi/bo_contig_space to handle full buffers 2017-06-14 16:20:20 +02:00
import CLEANUP: da: move global settings out of the global section 2016-12-21 21:30:54 +01:00
proto MAJOR: task: task scheduler rework. 2017-06-27 14:38:02 +02:00
types MAJOR: task: task scheduler rework. 2017-06-27 14:38:02 +02:00