Re: [Qemu-devel] [PATCH 1.1] coroutine: Fix setup of sigaltstack coroutines

2012-05-10 Thread Kevin Wolf
Am 10.05.2012 09:29, schrieb Paolo Bonzini: > Il 09/05/2012 19:23, Jan Kiszka ha scritto: >> 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 b

Re: [Qemu-devel] [PATCH 1.1] coroutine: Fix setup of sigaltstack coroutines

2012-05-10 Thread Paolo Bonzini
Il 09/05/2012 19:23, Jan Kiszka ha scritto: > 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:

[Qemu-devel] [PATCH 1.1] coroutine: Fix setup of sigaltstack coroutines

2012-05-09 Thread Jan Kiszka
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 --- coroutine-sigaltstack.c |2 +- 1 f