在 2025-02-10 16:41, Kirill Makurin 写道:
We already moved `WINPTHREAD_API` and `clockid_t` to pthread_compat.h. Also 
move `mode_t` (from sched.h) to and errno constants (from pthread.h) to 
pthread_compat.h.

sched.h and semaphore.h use `WINPTHREAD_SCHED_API` and `WINPTHREAD_SEMA_API` 
instead of `WINPTHREAD_API`. Include pthread_compat.h and use `WINPTHREAD_API` 
instead.

Remove duplicated code from pthread.h. It contains verbatim code from sched.h. 
Simply include sched.h.

Thanks for these patches. These all look good to me. Pushed to master 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