Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Jun 2001 10:53:48 -0700 (PDT)
From:      Richard Hodges <rh@matriplex.com>
To:        Christopher Sedore <cmsedore@mailbox.syr.edu>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: question: aio / nbio / kqueue
Message-ID:  <Pine.BSF.4.10.10106251048380.72662-100000@mail.matriplex.com>
In-Reply-To: <Pine.SOL.4.10.10106251331210.3561-100000@rodan.syr.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 25 Jun 2001, Christopher Sedore wrote:

> You might try using aio_waitcomplete instead of aio_suspend.  I wrote it
> because I hated the aio_suspend/array methodology.

That does look like a nice alternative to aio_suspend...  I'll have to
have another look at AIO then.

> You should also make sure you bzero the aiocb structure before use as
> some of the fields could cause strange behavior if left with random
> data.

Did that.  But it never hurts to double-check :-)

Thanks,

-Richard

-------------------------------------------
   Richard Hodges   | Matriplex, inc.
   Product Manager  | 769 Basque Way
  rh@matriplex.com  | Carson City, NV 89706
    775-886-6477    | www.matriplex.com 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.10106251048380.72662-100000>