Emanuele Giuseppe Esposito
aef04fc790
thread-pool: avoid passing the pool parameter every time
...
thread_pool_submit_aio() is always called on a pool taken from
qemu_get_current_aio_context(), and that is the only intended
use: each pool runs only in the same thread that is submitting
work to it, it can't run anywhere else.
Therefore simplify the thread_pool_submit* API and remove the
ThreadPool function parameter.
Signed-off-by: Emanuele Giuseppe Esposito <eesposit@redhat.com>
Message-Id: <20230203131731.851116-5-eesposit@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2023-04-25 13:17:28 +02:00
..
2023-03-13 15:23:37 +04:00
2022-03-17 11:23:18 +00:00
2022-06-24 17:07:06 +02:00
2023-03-13 15:39:31 +04:00
2023-02-08 07:28:05 +01:00
2023-03-07 12:39:53 +01:00
2022-03-07 13:16:49 +00:00
2022-11-21 11:58:10 +01:00
2023-03-20 12:43:50 +01:00
2023-03-05 13:44:07 -08:00
2023-02-21 08:53:03 -10:00
2022-05-03 15:18:14 +04:00
2022-04-06 14:31:55 +02:00
2022-05-04 15:55:23 +02:00
2022-05-04 15:55:23 +02:00
2021-01-24 20:10:54 +01:00
2023-01-06 00:51:02 +01:00
2023-03-20 12:43:50 +01:00
2023-01-11 10:44:34 +01:00
2023-04-06 12:38:42 -04:00
2022-05-03 15:17:56 +04:00
2022-04-06 14:31:55 +02:00
2023-03-27 15:12:17 +02:00
2022-03-17 11:23:18 +00:00
2021-02-07 20:38:20 +00:00
2023-02-27 22:29:01 +01:00
2023-02-17 14:34:24 +01:00
2022-04-06 14:31:43 +02:00
2022-06-20 08:38:58 -03:00
2021-03-09 21:47:45 +01:00
2023-02-04 06:19:42 -10:00
2022-12-20 17:09:41 -08:00
2022-10-12 19:22:01 +04:00
2022-09-02 10:22:39 +08:00
2022-04-21 17:03:51 +04:00
2023-03-08 00:37:48 +01:00
2023-03-13 15:39:31 +04:00
2022-03-07 13:16:49 +00:00
2023-03-28 15:23:10 -07:00
2023-04-24 11:29:00 +02:00
2022-11-06 09:48:50 +01:00
2023-01-09 13:50:47 +01:00
2023-03-13 15:23:37 +04:00
2023-03-21 11:16:03 +04:00
2021-06-25 14:24:24 +03:00
2022-06-29 10:56:12 +03:00
2023-02-23 13:56:14 +01:00
2022-04-06 14:31:55 +02:00
2023-03-07 12:39:53 +01:00
2023-01-19 10:18:28 +01:00
2023-04-20 11:17:35 +02:00
2021-10-15 16:11:22 +02:00
2022-04-06 14:31:43 +02:00
2023-03-13 15:39:31 +04:00
2023-03-07 12:38:40 +01:00
2023-03-07 12:38:40 +01:00
2021-01-18 10:05:06 +00:00
2022-06-21 09:24:34 -07:00
2023-02-02 11:48:20 +00:00
2021-07-21 07:45:38 -10:00
2023-03-28 15:23:10 -07:00
2022-03-04 18:14:40 +01:00
2023-02-04 07:56:54 +01:00
2021-07-26 07:06:49 -10:00
2022-12-14 16:19:35 +01:00
2023-04-25 13:17:28 +02:00
2021-01-08 15:13:38 +00:00
2023-02-11 16:51:09 +01:00
2021-11-16 09:43:44 +01:00
2023-02-27 09:15:39 +01:00
2023-02-11 16:51:09 +01:00
2023-01-09 13:50:47 +01:00
2023-03-27 13:46:30 +02:00
2021-04-01 15:27:44 +04:00