------- Comment #3 from jakub at gcc dot gnu dot org 2010-01-21 20:37 ------- Yeah, the test is certainly fine, if it sporadically fails, there are issues with the mingw TLS or thread implementation (or both).
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42829