On 2008 Jul 20, at 21:05, Richard A. O'Keefe wrote:

For asynchronous I/O, this means that
- you can allocate an aiocb object
- an aiocb passed to aio_suspend, aio_error,
  aio_return, or aio_cancel should have been
  filled in by aio_read or aio_write and should
  be EXACTLY THE SAME object, not a copy of it.


Right, hence a ForeignPtr which is mostly opaque.

--
brandon s. allbery [solaris,freebsd,perl,pugs,haskell] [EMAIL PROTECTED]
system administrator [openafs,heimdal,too many hats] [EMAIL PROTECTED]
electrical and computer engineering, carnegie mellon university    KF8NH


_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to