Penned by Dope Ice Apollyon the Third on 20091204 10:43.03, we have: | On Fri, Dec 4, 2009 at 10:20 AM, Luis Useche <use...@gmail.com> wrote: | > On Fri, Dec 4, 2009 at 12:07 AM, Ted Unangst <ted.unan...@gmail.com> wrote: | >> On Thu, Dec 3, 2009 at 11:47 PM, Dope Ice Apollyon the Third | >> <kou...@gmail.com> wrote: | >>> On Thu, Dec 3, 2009 at 10:57 PM, Luis Useche <use...@gmail.com> wrote: | >>>> Hi Guys, | >>>> | >>>> I have been looking for information on how to do asynchronous I/Os in | >>>> OBSD with no luck. The only thing I have found so far is the O_ASYNC | >>>> flag in the fcntl syscall. I couldn't find any manual that talks about | >>>> this. Is this functionality included in OBSD?. If so, where can I find | >>>> information? | >>>> | >>> | >>> Well, open(2) mentions "If the O_SYNC flag is set, all I/O operations | >>> on the file will be done synchronously.", so I suppose we're supposed | >>> to assume the default is O_ASYNC. But I suspect what you're really | >>> looking for is select(2). | >> | >> He's probably looking for aio_read and aio_write and such, but as one | >> can tell by the absence of man pages, they don't exist here. | > | > Exactly, I am more interested more in something close to aio_read & | > aio_write. I was hoping there was some api I can use. Is there any | > reason why POSIX aio does not exist in OBSD? Security reasons maybe? | > | | Not to disparage your choice of API, but you've got me wondering: does | anyone actually use AIO? The best result I could find on koders.com | was a line from nginx that called a function whose name ended in _aio. | Everything else was just various other APIs that provide AIO as a | backend. | | -Nick
Unfortunately qemu has aio support. Fortunately, enough other os's do not have aio that they have code to handle their needs without aio support. -- Todd Fries .. t...@fries.net _____________________________________________ | \ 1.636.410.0632 (voice) | Free Daemon Consulting, LLC \ 1.405.227.9094 (voice) | http://FreeDaemonConsulting.com \ 1.866.792.3418 (FAX) | 2525 NW Expy #525, Oklahoma City, OK 73112 \ sip:freedae...@ekiga.net | "..in support of free software solutions." \ sip:4052279...@ekiga.net \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ 37E7 D3EB 74D0 8D66 A68D B866 0326 204E 3F42 004A http://todd.fries.net/pgp.txt