在 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 (
-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