On Tue, Aug 26, 2014 at 6:59 PM, Sylvain Henry <hsyl20@gmail.com> wrote:
AFAIK "errno" is handled explicitly in the RTS: https://ghc.haskell.org/trac/ghc/browser/ghc/rts/Schedule.c#L484

-Sylvain
 
Oh, thanks for pointing this out! Now this behaviour makes sense.