在 2022-10-20 14:12, ralph engels 写道:
I think he was refering to gcc's gthreads implementation ?. not sure if it was ever used for much else than the objc compiler, it does not support threading in C++ as far as i know.
gthread is used by libstdc++ to implement standard threading facilities [1] and by various libraries for their own use [2].
But really, you reminded me about Objective-C. Those `__gthread_objc_*` functions are still left unimplemented. Maybe I should add them some time later.
[1] https://github.com/gcc-mirror/gcc/blob/c75ee0bffabfd6056e29e7a421ae8e9615639a8f/libstdc%2B%2B-v3/src/c%2B%2B11/thread.cc#L157 [2] https://github.com/gcc-mirror/gcc/blob/16e2427f50c208dfe07d07f18009969502c25dc8/libgcc/unwind-dw2-fde.c#L103
-- Best regards, LIU Hao
OpenPGP_signature
Description: OpenPGP digital signature
_______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public