version 1.10.2.2, 2012/08/01 13:43:14
|
version 1.10.2.4, 2012/08/01 16:47:06
|
Line 585 schedAIORead(sched_root_task_t * __restrict root, sche
|
Line 585 schedAIORead(sched_root_task_t * __restrict root, sche
|
} else |
} else |
acb->aio_offset = off; |
acb->aio_offset = off; |
acb->aio_sigevent.sigev_notify = SIGEV_KEVENT; |
acb->aio_sigevent.sigev_notify = SIGEV_KEVENT; |
acb->aio_sigevent.sigev_notify_kevent_flags = EV_CLEAR | EV_ONESHOT; |
|
acb->aio_sigevent.sigev_notify_kqueue = root->root_kq; |
acb->aio_sigevent.sigev_notify_kqueue = root->root_kq; |
acb->aio_sigevent.sigev_value.sival_ptr = (void*) O_RDONLY; | acb->aio_sigevent.sigev_value.sival_ptr = acb; |
|
|
if (aio_read(acb)) { |
if (aio_read(acb)) { |
LOGERR; |
LOGERR; |
Line 643 schedAIOWrite(sched_root_task_t * __restrict root, sch
|
Line 642 schedAIOWrite(sched_root_task_t * __restrict root, sch
|
} else |
} else |
acb->aio_offset = off; |
acb->aio_offset = off; |
acb->aio_sigevent.sigev_notify = SIGEV_KEVENT; |
acb->aio_sigevent.sigev_notify = SIGEV_KEVENT; |
acb->aio_sigevent.sigev_notify_kevent_flags = EV_CLEAR | EV_ONESHOT; |
|
acb->aio_sigevent.sigev_notify_kqueue = root->root_kq; |
acb->aio_sigevent.sigev_notify_kqueue = root->root_kq; |
acb->aio_sigevent.sigev_value.sival_ptr = (void*) O_WRONLY; | acb->aio_sigevent.sigev_value.sival_ptr = acb; |
|
|
if (aio_write(acb)) { |
if (aio_write(acb)) { |
LOGERR; |
LOGERR; |