在 2025-02-16 21:46, Kirill Makurin 写道:
The `pthread.h`, `pthread_time.h` and `sched.h` include `sys/timeb.h`. The 
`ftime` function was marked obsolete and later removed in POSIX 2008.

I don't see any reason to include this header file unless some legacy projects 
rely on `ftime` being available when including `pthread.h`, which seems strange 
to me.

None of source files use `ftime`. There are some tests in `tests_pthread` 
subdirectory that use it, but the explicitly include `sys/timeb.h`.

This makes sense. Thanks for the patch. Pushed now.


--
Best regards,
LIU Hao

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to