commit | 99b5beba2f6c3f2e206e6200a05519a0ec2dc8db | [log] [tgz] |
---|---|---|
author | Jan Kiszka <jan.kiszka@siemens.com> | Wed May 09 14:23:27 2012 -0300 |
committer | Kevin Wolf <kwolf@redhat.com> | Mon May 14 17:02:19 2012 +0200 |
tree | e8d4db8a0db39878002e74fe3b5689ff2419b2ea | |
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>