mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-01 23:03:54 -06:00
Merge remote-tracking branch 'kwolf/for-anthony' into staging
* kwolf/for-anthony: qemu-img: Fix segmentation fault qcow2: Don't ignore failure to clear autoclear flags coroutine: Fix setup of sigaltstack coroutines
This commit is contained in:
commit
9cc31772bf
3 changed files with 8 additions and 3 deletions
|
@ -226,7 +226,7 @@ static Coroutine *coroutine_new(void)
|
|||
* called.
|
||||
*/
|
||||
coTS->tr_called = 0;
|
||||
kill(getpid(), SIGUSR2);
|
||||
pthread_kill(pthread_self(), SIGUSR2);
|
||||
sigfillset(&sigs);
|
||||
sigdelset(&sigs, SIGUSR2);
|
||||
while (!coTS->tr_called) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue