]> git.ipfire.org Git - thirdparty/qemu.git/commit
util: Add coroutine backend for emscripten
authorKohei Tokunaga <ktokunaga.mail@gmail.com>
Mon, 28 Apr 2025 06:39:06 +0000 (15:39 +0900)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 6 May 2025 14:02:04 +0000 (16:02 +0200)
commit5b78d120ffa2c343728600082777a49cbc825ee1
tree4aa92b2aa844dd8c7e3689bb08828140aea756aa
parent8e72b0eb1842ac9813228ad9d9c29203f3823d99
util: Add coroutine backend for emscripten

Emscripten does not support couroutine methods currently used by QEMU but
provides a coroutine implementation called "fiber". This commit introduces a
coroutine backend using fiber. Note that fiber does not support submitting
coroutines to other threads.

Signed-off-by: Kohei Tokunaga <ktokunaga.mail@gmail.com>
Acked-by: Stefan Hajnoczi <stefanha@redhat.com>
Link: https://lore.kernel.org/r/006b683fd578ed6303a2dc8679094da9a7e6dfb4.1745820062.git.ktokunaga.mail@gmail.com
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
MAINTAINERS
util/coroutine-wasm.c [new file with mode: 0644]