summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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 c919e3b22..ef76f74ac 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--;