2
0
mirror of https://github.com/boostorg/thread.git synced 2026-01-21 05:22:15 +00:00
Nikita Kniazev 7afa3e9fd4 Fixed optimized away hooks. Fixes #316
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).
2020-06-14 17:13:15 +03:00
2019-01-14 20:19:46 +03:00
2019-12-08 09:46:31 +08:00
2020-04-05 15:16:35 +03:00
2018-11-15 06:44:45 +01:00
2020-04-06 18:57:29 +03:00
2001-06-15 15:27:08 +00:00
2014-10-11 07:33:57 +02:00
2020-04-07 05:17:17 +03:00
2016-11-05 23:37:45 +01:00

thread

Portable C++ multi-threading. C++11, C++14.

License

Distributed under the Boost Software License, Version 1.0.

Description
Mirrored via gitea-mirror
Readme 11 MiB
Languages
C++ 99.9%