[Haskell-cafe] carry "state" around ....

Galchin, Vasili vigalchin at gmail.com
Sat Jul 19 16:42:49 EDT 2008


Brandon,

      You lost me .... can you explain what an opaque aiocb would look like?

Vasili

On Sat, Jul 19, 2008 at 9:45 AM, Brandon S. Allbery KF8NH <
allbery at ece.cmu.edu> wrote:

>
> On 2008 Jul 19, at 2:40, Galchin, Vasili wrote:
>
> My viewpoint is that the above "Internal members" must be "carried" around
> in a Haskell program. Am I correct?? If I am correct, then the Linux
> implementation of Posix AIO is not portable to say Solaris? In hindsight, if
> I am correct, it seems that
>
>
> You are correct --- but Solaris also has its own addenda, and its standard
> fields are not at the same offsets as in the Linux aiocb.  The only safe way
> to do this is to use an opaque aiocb on the Haskell side and accessors in C
> via FFI.
>
> --
> 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
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20080719/fe9e17b8/attachment.htm


More information about the Haskell-Cafe mailing list