Skip to content
Snippets Groups Projects
user avatar
Alex Barcelo authored
This file is based in both coroutine-ucontext.c and
pth_mctx.c (from the GNU Portable Threads library).

The mechanism used to change stacks is the sigaltstack
function (variant 2 of the pth library).

v2: Some corrections. Moving global variables into
thread storage (CoroutineThreadState).

Signed-off-by: default avatarAlex Barcelo <abarcelo@ac.upc.edu>
Signed-off-by: default avatarKevin Wolf <kwolf@redhat.com>
3194c8ce
History
Read the documentation in qemu-doc.html or on http://wiki.qemu.org

- QEMU team