summaryrefslogtreecommitdiff
path: root/compiler.h
diff options
context:
space:
mode:
authorAlex Barcelo <abarcelo@ac.upc.edu>2012-02-28 12:25:49 +0100
committerKevin Wolf <kwolf@redhat.com>2012-03-12 15:14:07 +0100
commit3194c8ceeba06c3b54621ea7afd6879bc50c2d1d (patch)
tree6c4908223b02c2fb978151cfa5f9f6fa0d138f1a /compiler.h
parent250196f19c6e7df12965d74a5073e10aba06c802 (diff)
downloadqemu-3194c8ceeba06c3b54621ea7afd6879bc50c2d1d.tar.gz
coroutine: adding sigaltstack method (.c source)
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: Alex Barcelo <abarcelo@ac.upc.edu> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'compiler.h')
0 files changed, 0 insertions, 0 deletions