在 2020/3/3 23:01, Vincent Torri 写道: > > but technically speaking, it can be implemented with the native > condition variables, right ? >
No. See <https://github.com/gcc-mirror/gcc/blob/8e6d0dba166324f4b257329bd4b4ddc2b4522359/libgcc/config/i386/gthr-win32.c#L147> for mutex details. The native condition variables can only be used along with native critical sections or slim readers-writer locks. Re-implementing them would cause ABI breakage. -- Best regards, LH_Mouse
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