[Haskell-cafe] carry "state" around ....
Brandon S. Allbery KF8NH
allbery at ece.cmu.edu
Sun Jul 20 21:55:00 EDT 2008
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] allbery at kf8nh.com
system administrator [openafs,heimdal,too many hats] allbery at ece.cmu.edu
electrical and computer engineering, carnegie mellon university KF8NH
More information about the Haskell-Cafe