RE: The Errno Story

"Simon Marlow" <[email protected]>
Newsgroups gmane.comp.lang.haskell.ffi
Message-ID <3429668D0E777A499EE74A7952C382D1948C89@EUR-MSG-01.europe.corp.microsoft.com>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.