The Errno Story
John Meacham
john at repetae.net
Fri Jul 25 05:10:53 EDT 2003
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. - john at foo.net
---------------------------------------------------------------------------
More information about the FFI
mailing list