Revision f2e5dca4 main-loop.c
b/main-loop.c | ||
---|---|---|
489 | 489 |
void qemu_aio_set_fd_handler(int fd, |
490 | 490 |
IOHandler *io_read, |
491 | 491 |
IOHandler *io_write, |
492 |
AioFlushHandler *io_flush, |
|
493 | 492 |
void *opaque) |
494 | 493 |
{ |
495 |
aio_set_fd_handler(qemu_aio_context, fd, io_read, io_write, io_flush, |
|
496 |
opaque); |
|
494 |
aio_set_fd_handler(qemu_aio_context, fd, io_read, io_write, opaque); |
|
497 | 495 |
} |
498 | 496 |
#endif |
499 | 497 |
|
500 | 498 |
void qemu_aio_set_event_notifier(EventNotifier *notifier, |
501 |
EventNotifierHandler *io_read, |
|
502 |
AioFlushEventNotifierHandler *io_flush) |
|
499 |
EventNotifierHandler *io_read) |
|
503 | 500 |
{ |
504 |
aio_set_event_notifier(qemu_aio_context, notifier, io_read, io_flush);
|
|
501 |
aio_set_event_notifier(qemu_aio_context, notifier, io_read); |
|
505 | 502 |
} |
Also available in: Unified diff