Re: include/linux/aio_abi.h and IOCB_CMD_POLL

From: Miklos Szeredi
Date: Thu Jun 04 2009 - 09:16:19 EST


On Thu, 04 Jun 2009, Goswin von Brederlow wrote:
> 3) Are there any alternatives to libaio that don't use threads and
> support polling?

There are the poll, select and epoll interfaces that block, but are
able to multiplex events from many file descriptors.

And there's the O_ASYNC flag that can be set with an fcntl(), that
sends a SIGIO signal on an I/O event.

All of these work on /dev/fuse.

Thanks,
Miklos
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/