On Sun, Oct 16, 2011 at 07:41:56PM -0400, Geoff Steckel wrote:
> Is there any feeling that aio_* and lio_* functionality is
> desirable? 
> 

In theory, async i/o is very desirable in audio programs, and the lack
of async i/o causes stuttering.

But programs don't use async i/o APIs at all; they roll their own i/o
thead and this works good enough on Linux beacause Linux uses kernel
threads. On OpenBSD this doesn't work very well because we have user
threads, so the i/o thread blocks all other threads.

AFAICS, the pthread library could take advantage of async i/o. But
this seems to be a lot of work and seems tricky.

> Do rthreads supersede them?

yes, rthreads would solve the above mentioned problem.

-- Alexandre

Reply via email to