diff options
author | Kevin Wolf <kwolf@redhat.com> | 2020-10-05 17:58:52 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2020-10-09 07:08:20 +0200 |
commit | 26b0b698c00bd9176f86c539aeb680481fa19473 (patch) | |
tree | 4fda52f77177d2997482588790aa2f14ecc0bc1f /include/block/block.h | |
parent | bb4b9ead95c3aaca84823e28dd9f11ccaa875c14 (diff) |
util/async: Add aio_co_reschedule_self()
Add a function that can be used to move the currently running coroutine
to a different AioContext (and therefore potentially a different
thread).
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-Id: <20201005155855.256490-12-kwolf@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'include/block/block.h')
0 files changed, 0 insertions, 0 deletions