mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
Use kill instead of sigqueue: re-enables AIO on OpenBSD
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6360 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
63c75dcd66
commit
c9db92fcc1
4 changed files with 4 additions and 9 deletions
|
@ -94,9 +94,7 @@ static void *aio_thread(void *unused)
|
|||
idle_threads++;
|
||||
pthread_mutex_unlock(&lock);
|
||||
|
||||
sigqueue(getpid(),
|
||||
aiocb->aio_sigevent.sigev_signo,
|
||||
aiocb->aio_sigevent.sigev_value);
|
||||
kill(getpid(), aiocb->sigev_signo);
|
||||
}
|
||||
|
||||
idle_threads--;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue