diff options
author | Jan Kiszka <jan.kiszka@siemens.com> | 2012-05-09 14:23:27 -0300 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2012-05-14 17:02:19 +0200 |
commit | 99b5beba2f6c3f2e206e6200a05519a0ec2dc8db (patch) | |
tree | e8d4db8a0db39878002e74fe3b5689ff2419b2ea /qemu-char.c | |
parent | 77f4c9a68aedb9b0d290a1def1bfc8714be862ec (diff) |
coroutine: Fix setup of sigaltstack coroutines
Use pthread_kill instead of process-wide kill to invoke the signal
handler used for stack switching. This may fix spurious lock-ups with
this backend, easily triggerable by extending the time window between
kill and sigsuspend.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'qemu-char.c')
0 files changed, 0 insertions, 0 deletions