Paolo Bonzini
5b33e015d3
coroutine-sleep: use a stack-allocated timer
...
The lifetime of the timer is well-known (it cannot outlive
qemu_co_sleep_ns_wakeable, because it's deleted by the time the
coroutine resumes), so it is not necessary to place it on the heap.
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-id: 20210517100548.28806-2-pbonzini@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2021-05-21 18:22:33 +01:00
..
2020-10-09 07:08:20 +02:00
2020-09-23 16:07:44 +01:00
2020-11-03 16:24:56 +01:00
2020-10-09 07:08:20 +02:00
2020-09-23 16:07:44 +01:00
2020-11-15 17:04:40 +01:00
2020-09-23 16:07:44 +01:00
2020-10-23 13:42:16 +01:00
2020-10-23 13:42:16 +01:00
2020-11-15 17:04:40 +01:00
2021-01-21 13:00:41 +01:00
2021-01-07 05:09:41 -10:00
2021-05-14 12:28:01 +02:00
2021-01-26 14:36:37 +01:00
2021-01-24 20:10:54 +01:00
2021-05-13 18:06:40 +02:00
2021-02-16 17:15:39 +01:00
2020-09-23 16:07:44 +01:00
2020-09-23 16:07:44 +01:00
2021-02-07 20:38:20 +00:00
2020-11-15 17:04:40 +01:00
2020-11-15 17:04:40 +01:00
2020-09-29 02:14:30 -04:00
2021-03-09 21:47:45 +01:00
2021-02-03 08:00:33 -06:00
2020-12-19 10:39:23 +01:00
2020-09-23 16:07:44 +01:00
2020-11-15 17:04:40 +01:00
2021-05-11 04:11:14 -04:00
2021-04-30 12:27:47 +02:00
2021-02-09 20:53:56 +00:00
2021-05-10 13:55:28 +02:00
2020-12-10 17:16:44 +01:00
2021-02-09 20:53:56 +00:00
2021-05-06 18:56:17 +01:00
2021-03-06 11:41:54 +01:00
2021-03-31 10:44:21 +01:00
2021-05-21 18:22:33 +01:00
2020-09-23 16:07:44 +01:00
2021-02-01 10:50:55 +00:00
2021-05-12 04:06:50 -04:00
2020-10-09 07:08:19 +02:00
2021-05-11 12:43:26 -05:00
2020-09-23 16:07:44 +01:00
2020-09-23 16:07:44 +01:00
2021-01-18 10:05:06 +00:00
2021-04-12 12:27:14 +10:00
2020-09-23 16:07:44 +01:00
2020-09-23 16:07:44 +01:00
2020-09-23 16:07:44 +01:00
2021-01-04 11:13:39 +00:00
2020-09-23 16:07:44 +01:00
2021-01-08 15:13:38 +00:00
2021-02-08 11:19:51 +00:00
2021-04-30 12:27:47 +02:00
2021-02-08 11:19:51 +00:00
2021-05-13 18:21:13 +01:00
2020-10-23 13:42:16 +01:00
2021-04-01 15:27:44 +04:00