Date: Sat, 28 Mar 1998 02:51:21 -0500 (EST) From: "John S. Dyson" <dyson@FreeBSD.ORG> To: HARAWAT.IN.oracle.com.ofcmail@in.oracle.com (HARAWAT.IN.ORACLE.COM) Cc: freebsd-current@FreeBSD.ORG Subject: Re: aio not working in FreeBSD 3.0-971208-SNAP Message-ID: <199803280751.CAA00477@dyson.iquest.net> In-Reply-To: <199802091523.KAA26931@dwarpal.in.oracle.com> from "HARAWAT.IN.ORACLE.COM" at "Feb 9, 98 06:04:47 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
HARAWAT.IN.ORACLE.COM said: > After registering the aio_read fn, SIGIO signal is generated but the > aiocntl_blk->_aiocb_private.status is -1,and aiocntl_blk->_aiocb_private.errno > is EINPROGRESS, aslo the values is the buffer shows the contents that were to > be read, probably the user space values of status and errno fields of the > aiocb_t are not updated. > The code looks okay... Are you accessing the private members of the local data structures? The correct way is to use aio_error. -- John | Never try to teach a pig to sing, dyson@freebsd.org | it just makes you look stupid, jdyson@nc.com | and it irritates the pig. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199803280751.CAA00477>