diff options
author | Alex Barcelo <abarcelo@ac.upc.edu> | 2012-02-28 12:25:49 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2012-03-12 15:14:07 +0100 |
commit | 3194c8ceeba06c3b54621ea7afd6879bc50c2d1d (patch) | |
tree | 6c4908223b02c2fb978151cfa5f9f6fa0d138f1a /softmmu_template.h | |
parent | 250196f19c6e7df12965d74a5073e10aba06c802 (diff) |
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 'softmmu_template.h')
0 files changed, 0 insertions, 0 deletions