Emeric Brun
c60def8368
MAJOR: threads/task: handle multithread on task scheduler
...
2 global locks have been added to protect, respectively, the run queue and the
wait queue. And a process mask has been added on each task. Like for FDs, this
mask is used to know which threads are allowed to process a task.
For many tasks, all threads are granted. And this must be your first intension
when you create a new task, else you have a good reason to make a task sticky on
some threads. This is then the responsibility to the process callback to lock
what have to be locked in the task context.
Nevertheless, all tasks linked to a session must be sticky on the thread
creating the session. It is important that I/O handlers processing session FDs
and these tasks run on the same thread to avoid conflicts.
2017-10-31 13:58:30 +01:00
..
2017-10-05 11:23:38 +02:00
2017-10-31 11:36:12 +01:00
2017-10-31 11:36:12 +01:00
2017-09-05 10:21:29 +02:00
2017-04-13 12:20:52 +02:00
2016-12-21 21:30:54 +01:00
2017-10-22 09:54:18 +02:00
2017-10-31 13:58:29 +01:00
2017-10-31 13:58:30 +01:00
2017-10-19 15:01:08 +02:00
2017-10-31 13:58:30 +01:00
2017-10-31 13:58:30 +01:00
2017-10-19 15:01:08 +02:00
2017-01-11 16:11:11 +01:00
2017-10-27 19:32:36 +02:00
2016-12-21 21:30:54 +01:00
2017-10-31 13:58:30 +01:00
2017-10-31 13:58:30 +01:00
2017-10-31 13:58:30 +01:00
2017-10-31 13:58:30 +01:00
2017-10-31 13:58:30 +01:00
2017-10-31 13:58:30 +01:00
2017-07-06 23:07:36 +02:00
2017-09-15 18:42:23 +02:00
2017-10-31 13:58:30 +01:00
2016-11-21 15:29:58 +01:00
2012-12-29 21:50:07 +01:00
2017-09-15 11:49:27 +02:00
2017-10-31 08:43:29 +01:00
2017-10-31 13:58:30 +01:00
2015-01-20 19:48:05 +01:00
2017-10-31 13:58:30 +01:00
2017-10-27 14:51:37 +02:00
2017-10-31 13:58:30 +01:00
2017-10-17 18:08:38 +02:00
2017-09-05 15:23:16 +02:00
2017-09-05 15:23:16 +02:00
2017-09-05 15:23:16 +02:00
2017-09-05 15:23:16 +02:00
2017-09-15 11:49:52 +02:00
2017-10-31 13:58:30 +01:00
2016-01-11 07:31:35 +01:00
2015-02-03 00:24:16 +01:00
2017-10-19 15:01:08 +02:00
2017-10-31 13:58:30 +01:00
2016-12-21 21:30:54 +01:00
2017-07-04 10:45:53 +02:00
2017-10-13 11:47:19 +02:00
2017-10-31 13:58:30 +01:00
2017-10-31 11:36:12 +01:00
2017-10-31 13:58:30 +01:00
2016-04-14 11:18:22 +02:00
2017-10-31 13:58:30 +01:00
2016-08-10 19:31:58 +02:00
2017-10-31 13:58:30 +01:00
2017-09-05 15:23:16 +02:00
2017-10-25 15:52:41 +02:00
2016-12-28 12:51:51 +01:00
2017-10-25 04:46:08 +02:00
2017-10-31 11:36:12 +01:00
2017-10-31 13:58:30 +01:00
2017-10-25 04:45:48 +02:00
2017-10-31 03:49:40 +01:00
2017-06-02 10:56:32 +02:00
2017-10-31 13:58:30 +01:00
2017-10-31 11:36:12 +01:00
2017-10-19 18:51:32 +02:00
2017-10-31 13:58:30 +01:00
2017-10-27 13:32:22 +02:00
2017-10-31 13:58:30 +01:00
2017-10-31 13:58:30 +01:00
2017-10-31 11:36:12 +01:00
2017-10-31 13:58:30 +01:00
2017-10-24 19:54:25 +02:00
2016-04-03 14:17:42 +02:00
2017-07-24 17:16:11 +02:00
2016-12-21 21:30:54 +01:00
2016-04-03 14:17:42 +02:00