Date: Thu, 18 Mar 1999 03:41:14 +0900 From: "Daniel C. Sobral" <dcs@newsguy.com> To: hackers@freebsd.org Subject: volatile question Message-ID: <36EFF74A.F42597F4@newsguy.com>
next in thread | raw e-mail | index | archive | help
From aio.h:
typedef struct aiocb {
int aio_fildes; /* File descriptor */
off_t aio_offset; /* File offset for I/O */
volatile void *aio_buf; /* I/O buffer in process
space */
^^^^^^^^^^^^^^^^^^^^^^^
size_t aio_nbytes; /* Number of bytes for I/O
*/
struct sigevent aio_sigevent; /* Signal to deliver */
int aio_lio_opcode; /* LIO opcode */
int aio_reqprio; /* Request priority --
ignored */
struct __aiocb_private _aiocb_private;
} aiocb_t;
Is the volatile keyword in the right position? Shouldn't it be void*
volatile aio_buf?
--
Daniel C. Sobral (8-DCS)
dcs@newsguy.com
dcs@freebsd.org
"What happened?"
"It moved, sir!"
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?36EFF74A.F42597F4>
