Ondřej Surý
e705f213ca
Remove taskmgr->excl_lock, fix the locking for taskmgr->exiting
...
While doing code review, it was found that the taskmgr->exiting is set
under taskmgr->lock, but accessed under taskmgr->excl_lock in the
isc_task_beginexclusive().
Additionally, before the change that moved running the tasks to the
netmgr, the task_ready() subrouting of isc_task_detach() would lock
mgr->lock, requiring the mgr->excl to be protected mgr->excl_lock
to prevent deadlock in the code. After !4918 has been merged, this is
no longer true, and we can remove taskmgr->excl_lock and use
taskmgr->lock in its stead.
Solve both issues by removing the taskmgr->excl_lock and exclusively use
taskmgr->lock to protect both taskmgr->excl and taskmgr->exiting which
now doesn't need to be atomic_bool, because it's always accessed from
within the locked section.
2022-01-05 16:44:57 +01:00
..
2022-01-04 23:07:12 -08:00
2021-12-29 10:25:14 +02:00
2021-12-29 10:25:14 +02:00
2021-07-06 05:33:48 +00:00
2021-08-30 08:47:39 +02:00
2021-07-06 05:33:48 +00:00
2020-09-14 16:20:40 -07:00
2021-07-06 05:33:48 +00:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2021-08-30 08:47:39 +02:00
2021-10-14 10:33:24 +02:00
2021-07-06 05:33:48 +00:00
2021-12-09 12:25:21 +01:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2021-06-09 14:35:14 +02:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2021-12-10 10:50:21 +01:00
2021-10-13 00:49:15 -07:00
2021-06-09 14:35:14 +02:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2021-09-17 07:09:50 +02:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2021-06-09 14:35:14 +02:00
2021-06-09 14:35:14 +02:00
2021-10-14 10:33:24 +02:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2021-12-17 20:28:01 +11:00
2021-12-07 20:41:46 +01:00
2020-09-14 16:20:40 -07:00
2021-11-04 17:06:36 -07:00
2021-06-09 14:35:14 +02:00
2020-09-14 16:20:40 -07:00
2021-09-30 13:54:55 +02:00
2021-12-10 10:50:21 +01:00
2021-08-30 08:47:39 +02:00
2021-12-22 18:17:26 +01:00
2021-10-15 01:01:25 -07:00
2021-12-07 21:12:53 +01:00
2021-10-28 07:38:56 +00:00
2021-02-18 19:33:54 +01:00
2021-12-17 14:43:05 +01:00
2021-06-09 14:35:14 +02:00
2021-12-09 14:02:36 +01:00
2020-09-14 16:20:40 -07:00
2021-06-09 14:35:14 +02:00
2021-06-09 14:35:14 +02:00
2021-05-07 14:28:30 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2021-11-26 08:20:10 +01:00
2021-11-26 08:20:10 +01:00
2021-07-13 09:12:04 +02:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2021-07-16 11:50:20 +03:00
2020-09-14 16:20:40 -07:00
2021-07-06 05:33:48 +00:00
2020-09-14 16:20:40 -07:00
2020-12-08 18:36:23 +01:00
2020-12-08 18:36:23 +01:00
2021-07-06 05:33:48 +00:00
2021-10-12 13:11:13 -07:00
2021-07-12 13:26:29 +10:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2020-09-14 16:20:40 -07:00
2021-06-09 14:35:14 +02:00
2021-08-24 09:07:15 +02:00
2021-06-09 14:35:14 +02:00
2021-06-09 14:35:14 +02:00
2021-06-09 14:35:14 +02:00
2020-09-14 16:20:40 -07:00
2021-06-09 14:35:14 +02:00
2021-05-07 14:28:30 -07:00
2022-01-05 16:44:57 +01:00
2021-04-20 23:22:28 +02:00
2021-06-09 14:35:14 +02:00
2021-10-21 09:31:01 +02:00
2021-05-07 10:19:05 -07:00
2021-07-06 05:33:48 +00:00
2021-02-18 19:33:54 +01:00
2022-01-04 23:07:12 -08:00
2021-05-05 19:15:33 +02:00
2021-09-01 10:44:21 +02:00
2021-09-01 10:44:21 +02:00
2021-03-15 14:18:03 +11:00
2020-09-14 16:20:40 -07:00