From: Boris (boriss_at_[hidden])
Date: 2008-04-08 07:11:00
On Tue, 08 Apr 2008 08:43:52 +0200, Kowalke Oliver (QD IT PA AS)
> [...]Two ways:
> 1.) use asynchronous I/O with aio-system calls (UNIX:
> aio_read/aio_write, ... whith aiocb struct; AFAIK not supported by
> Note: AIO is not supported on all systems (for instance on LINUX aio
> doesn't realy support sockets) and other I/O techniques maybe faster and
> more efficient.
> 2.) use synchronous I/O with non-blocking descriptors, demultiplexing
> techniques (select, epoll, kqueue,...) and threads (==the way
> boost::asio works).
Well, this wouldn't be a C++ library then to make C++ standard streams
support asynchronous I/O. It would rather be a system-specific library
where C++ developers would have to find out themselves if their streams
are represented by something platform-specific like file descriptors.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk