Description
stout's THREAD_LOCAL was introduced as an abstraction since Apple's C++ toolchain didn't support thread_local at the time. It uses the extension __thread under OS X, so we cannot create non-POD thread-local vars.
With Xcode-8 (i.e., with Sierra) and above Apple's toolchain does support thread_local, and we should eventually e.g., remove the THREAD_LOCAL abstraction.
Attachments
Issue Links
- is blocked by
-
MESOS-6438 Raise minimum required OS X version to Sierra
- Open
- is superceded by
-
MESOS-7373 Remove thread_local workaround on OSX
- Resolved