在 2022-03-16 00:22, Steve Lhomme 写道:
Apparently these 2 error codes have been removed in recent versions of POSIX:

* https://pubs.opengroup.org/onlinepubs/9699919799/functions/pthread_detach.html
* https://pubs.opengroup.org/onlinepubs/9699919799/functions/pthread_join.html

I don't know if there's a way to signal what version of POSIX winpthread is following or if we should only handle the newer error code



Note

The behavior is undefined if the value specified by the thread argument to pthread_join() does not refer to a joinable thread.

which means there is no suggested error code, and whatever return value is 
acceptable, including zero.



--
Best regards,
LIU Hao

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to