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 < [EMAIL PROTECTED]> 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] [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