jamesob commented on this pull request.
+ * TODO: using thread_local changes the abi in ways that may not play nice
+ * when the c++ stdlib is linked dynamically. Disable it until thorough
+ * testing has been done.
+ * mingw32’s implementation of thread_local has also been shown to behave
+ * erroneously under concurrent usage; see:
+ * https://gist.github.com/jamesob/fe9a872051a88b2025b1aa37bfa98605
I don’t think so — see the comment above; sounds like @theuni wants to do more testing with dynamic linking before we use `thread_local` outside the context of debug code.
Запись редактировалась последний раз: May 7, 2018, 5:45 pm