Re: The Errno Story
John Meacham <[email protected]>
| Newsgroups | gmane.comp.lang.haskell.ffi |
|---|---|
| Message-ID | <[email protected]> |
On Fri, Jul 25, 2003 at 09:50:00AM +0100, Simon Marlow wrote:
> John Meacham writes:
> > I am not a fan of having to stow errno for every ffi call..
> As was pointed out to me last time this came up, you don't have to stow
> it for every FFI call, only on a context switch.
>
> Adding one word to a TSO is also very cheap. The total cost is almost
> certainly unmeasurable.
okay. I am convinced. :)
John
--
---------------------------------------------------------------------------
John Meacham - California Institute of Technology, Alum. - [email protected]
---------------------------------------------------------------------------