From owner-freebsd-hackers Mon Jun 25 10:53:53 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.matriplex.com (ns1.matriplex.com [208.131.42.8]) by hub.freebsd.org (Postfix) with ESMTP id ADD8437B401 for ; Mon, 25 Jun 2001 10:53:51 -0700 (PDT) (envelope-from rh@matriplex.com) Received: from mail.matriplex.com (mail.matriplex.com [208.131.42.9]) by mail.matriplex.com (8.9.2/8.9.2) with ESMTP id KAA72980; Mon, 25 Jun 2001 10:53:49 -0700 (PDT) (envelope-from rh@matriplex.com) Date: Mon, 25 Jun 2001 10:53:48 -0700 (PDT) From: Richard Hodges To: Christopher Sedore Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: question: aio / nbio / kqueue In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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