Hello, When I was getting more familiar with winpthreads' source code back in May, wrappers `_pthread_wait_for_single_object` and `_pthread_wait_for_multiple_objects ` caught my attention. They were added in this commit[1].
How bad is precision of `WaitForSingleObject` and `WaitForMultipleObjects `? They accept timeout in milliseconds; `SYSTEMTIME` supports millisecond resolution; `FILETIME` uses sub-microsecond resolution (if converted from `SYSTEMTIME`, sub-millisecond part is likely lost); so how bad can it be? I assume it may be the case for older Windows versions or old hardware? I'm simply curious and by no means I suggest that we remove them. - Kirill Makurin [1] https://github.com/mingw-w64/mingw-w64/commit/52f2ce12c6182bd239e4f1bbffcd420997b64b08 _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
