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
..
2020-09-18 14:12:32 -04:00
2023-02-05 06:40:28 -03:00
2022-12-21 14:17:55 -03:00
2023-02-05 06:40:28 -03:00
2018-04-27 18:05:22 +10:00
2019-05-23 14:10:31 +02:00
2023-01-08 01:54:22 -05:00
2023-02-06 11:41:39 +00:00
2023-02-06 11:41:39 +00:00
2022-10-28 13:15:22 -03:00
2022-01-04 07:55:34 +01:00
2022-10-17 16:15:09 -03:00
2021-06-03 18:10:31 +10:00
2023-03-08 00:37:48 +01:00
2022-04-06 14:31:55 +02:00
2023-01-20 07:25:10 +01:00
2023-01-20 07:25:10 +01:00
2023-02-27 22:29:02 +01:00
2022-04-20 18:00:30 -03:00
2022-07-12 12:14:56 +02:00
2023-01-20 07:25:18 +01:00
2022-08-31 14:08:05 -03:00
2023-01-20 07:25:10 +01:00
2023-03-03 16:50:17 -03:00
2022-10-28 13:15:23 -03:00
2023-01-08 01:54:22 -05:00
2023-03-22 15:06:57 +00:00
2022-10-17 16:15:09 -03:00
2023-02-08 07:28:05 +01:00
2022-10-17 16:15:09 -03:00
2023-02-08 07:28:05 +01:00
2023-01-08 01:54:22 -05:00
2022-10-28 13:15:22 -03:00
2022-10-17 16:15:09 -03:00
2022-03-21 15:44:44 +01:00
2023-01-04 16:20:01 -08:00
2020-11-15 16:38:50 +01:00
2022-07-18 13:59:43 -03:00
2023-02-27 22:29:02 +01:00
2021-05-02 17:24:51 +02:00
2023-02-27 22:29:02 +01:00
2022-06-28 11:06:02 +02:00
2022-04-04 08:49:06 +02:00
2023-02-08 07:28:05 +01:00
2022-03-21 15:44:44 +01:00
2023-03-07 17:06:33 +00:00
2022-07-06 10:22:37 -03:00
2020-12-14 15:50:55 +11:00
2022-04-06 14:31:55 +02:00
2023-04-25 13:17:28 +02:00
2021-01-19 10:20:29 +11:00
2022-09-22 16:38:28 +01:00
2023-01-08 01:54:22 -05:00
2022-12-21 07:32:24 -05:00
2021-05-02 17:24:51 +02:00
2022-07-06 10:22:37 -03:00
2023-04-20 11:25:32 +02:00
2022-02-28 11:39:35 +01:00
2023-03-22 15:06:57 +00:00
2022-04-06 14:31:55 +02:00
2022-03-02 06:51:40 +01:00
2022-04-06 14:31:55 +02:00
2023-04-20 06:44:15 +02:00
2022-10-28 13:15:23 -03:00
2020-08-21 06:18:24 -04:00
2022-12-21 14:17:55 -03:00
2022-04-20 18:00:30 -03:00