]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/kern/kern_aio.c
xnu-1699.22.73.tar.gz
[apple/xnu.git] / bsd / kern / kern_aio.c
index a2983db0a5a75bff05d78543de2664b260f150a7..89a2ba0127085cd019328db9bc1383c940526f13 100644 (file)
@@ -1394,7 +1394,7 @@ aio_enqueue_work( proc_t procp, aio_workq_entry *entryp, int proc_locked)
        /* And work queue */
        aio_workq_lock_spin(queue);
        aio_workq_add_entry_locked(queue, entryp);
-       wait_queue_wakeup_one(queue->aioq_waitq, queue, THREAD_AWAKENED);
+       wait_queue_wakeup_one(queue->aioq_waitq, queue, THREAD_AWAKENED, -1);
        aio_workq_unlock(queue);
        
        if (proc_locked == 0) {