在 2018/5/30 5:19, LRN 写道: > The testcase should succeed (return 0), and print into the console that it > waited for one second (or more). But when compiled against winpthreads it > returns early, usually a few milliseconds before the deadline (as measured by > QPC). > > Tested on a fairly recent (a few months old) i686 mingw-w64 from MSYS2. > > Just in case ML eats the attachment, here's the source code: > > ==================pthreads_relwait.c===================== > (... abridged ...) > if (after < until) > return 8; > > pthread_cond_destroy (&cond); > pthread_mutex_destroy (&mutex);
There shall be a `return 0;` here. I can conform this problem on Windows 7 x64. -- Best regards, LH_Mouse ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
