The Errno Story

Simon Marlow simonmar at microsoft.com
Fri Jul 25 04:50:00 EDT 2003


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.

Cheers,
	Simon




More information about the FFI mailing list