patch applied (testsuite): Don't use threads on Windows

Simon Marlow marlowsd at gmail.com
Mon Nov 2 07:27:11 EST 2009


On 28/10/2009 19:59, Ian Lynagh wrote:
> Wed Oct 28 10:54:21 PDT 2009  Ian Lynagh<igloo at earth.li>
>    * Don't use threads on Windows
>    It seems to cause some sort of deadlock
>
>      M ./driver/runtests.py -17 +22
>      M ./mk/test.mk +6

I tried to look into this once.  As far as I could tell, the deadlock 
occurred between multiple ld.exe processes trying to access the same 
library.  It looked like ld needed some kind of exclusive access to the 
libraries it was reading, which seems very strange.  That also doesn't 
explain why everything ground to a halt for a while (several seconds) 
before continuing.  That's as far as I got, anyway.

Cheers,
	Simon



More information about the Cvs-ghc mailing list