Proposal #2: marshalling utilites

Fergus Henderson fjh at cs.mu.oz.au
Wed Dec 6 06:42:47 EST 2000


On 06-Dec-2000, Simon Marlow <simonmar at microsoft.com> wrote:
> [someone (Sven Panne?) wrote:]
> >    * errno *is* a thread local thing, of course.
> 
> Not a Haskell thread local thing, unfortunately.  I *really* don't want
> to have a private errno in each Haskell thread object, which gets copied
> in after every foreign call.  Anyone have any bright ideas here?

Well, you could have a private errno in each Haskell thread object,
which gets copied in at every Haskell thread switch...

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
                                    |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.




More information about the FFI mailing list