aboutsummaryrefslogtreecommitdiff
path: root/posix-aio-compat.c
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2009-01-17 06:49:15 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2009-01-17 06:49:15 +0000
commitc9db92fcc1c512b9e0e9928c0f2ac7a74b9cf384 (patch)
treee2246e27cdc0e2d09474a89b68517e9379ecf7c0 /posix-aio-compat.c
parent63c75dcd669d011f438421980b4379827da4bb1c (diff)
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
Diffstat (limited to 'posix-aio-compat.c')
-rw-r--r--posix-aio-compat.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/posix-aio-compat.c b/posix-aio-compat.c
index c919e3b22d..ef76f74ace 100644
--- a/posix-aio-compat.c
+++ b/posix-aio-compat.c
@@ -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--;