Hi LRN! On Sun, Apr 14, 2013 at 10:16 AM, LRN <> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 14.04.2013 17:55, K. Frank wrote: >> Hello LRN! >> >> On Sun, Apr 14, 2013 at 2:54 AM, LRN <...> wrote: >>> ... This patch should integrate the testsuite imported from >>> pthreads with winpthreads. ... >> >> Did you ever learn more about / sort out the create / join race >> condition you reported earlier? > No. Ktietz gave me a patch, but it didn't fix the bug. > >> (Sorry to semi-hijack the current thread.) > One of the reasons why i want testsuite is that create2, in > particular, fails due to the create/join race. So it's not that bad :) > ...
How frequently does the race occur? The reason I ask is that I've used a couple of mingw-w64 builds where std::thread is implemented on top of winpthreads. I didn't try any raw winpthreads create / join tests, but I did do the equivalent at the std::thread level, namely instantiate / join some std::threads. When I ran my elementary (and not particularly high-stress) join tests I didn't see any problems. (This was on a two-core windows 7 machine.) So I'm wondering if the bug you found is relatively rare, or whether I would need to run a more sophisticated test to catch it. (Or maybe whether the specific std::thread use case avoids it somehow.) Thanks. K. Frank ------------------------------------------------------------------------------ Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis & visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter _______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public