Re: [Mingw-w64-public] pthread_cond_timedwait_relative_np() returns too early in winpthreads

2018-05-29 Thread Liu Hao
在 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 (

[Mingw-w64-public] pthread_cond_timedwait_relative_np() returns too early in winpthreads

2018-05-29 Thread LRN
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Here's a testcase, compile with gcc -g -O2 pthreads_relwait.c -o pthreads_relwait.exe -lpthread 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 retu