Scary Windows issues

Bulat Ziganshin bulat.ziganshin at gmail.com
Fri Sep 1 05:15:53 EDT 2006


Hello Esa,

Friday, September 1, 2006, 3:59:40 AM, you wrote:

> Ah, it seems to be a newline is interleaved in a funny way.
> Happens everytime for me, here's the output diff:
> ! newThread startedmainThread
> !

it's because hPutStrLn is not primitive operation, it's implemented as
hPutStr+hPutChar '\n', where hPutStr and hPutChar locks handle during
their internal operation


-- 
Best regards,
 Bulat                            mailto:Bulat.Ziganshin at gmail.com



More information about the Cvs-ghc mailing list