- 论坛徽章:
- 7
|
本帖最后由 cxytz01 于 2013-07-17 10:39 编辑
大家有曾经见过使用aio的代码么?
看aio,都说aio没有完善的实现机制,还不够成熟,极少使用。请问哪位同仁有曾经见过aio的代码吗?- man aio.h --异步io
- int aio_cancel(int, struct aiocb *);
- int aio_error(const struct aiocb *);
- int aio_fsync(int, struct aiocb *);
- int aio_read(struct aiocb *);
- ssize_t aio_return(struct aiocb *);
- int aio_suspend(const struct aiocb *const[], int,
- const struct timespec *);
- int aio_write(struct aiocb *);
- int lio_listio(int, struct aiocb *restrict const[restrict], int,
- struct sigevent *restrict);
复制代码 |
|