mirror of
https://github.com/boostorg/thread.git
synced 2026-01-21 05:22:15 +00:00
feature/pr-320
MSVC learned to not emit unreferenced symbols with internal linkage and the hooks were defined in unnamed namespace which forces internal linkage, even if you mark a variable `extern`. Since Boost does not have a stable ABI, does not mangle the namespace with the version, and the hooks are in `boost` namespace (`boost::on_*`) -- there is no point in trying to hide some symbols because mixing different versions of boost static libraries will not work already. I also renamed the `__xl_ca` variable for consistency and because using double underscored identifiers is forbidden. (`[lex.name]/3`) The `extern const` is for verbosity and because they are indeed const (it is done via pragma already).
thread
Portable C++ multi-threading. C++11, C++14.
License
Distributed under the Boost Software License, Version 1.0.
Description
Languages
C++
99.9%