Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

highest supported C++ standard and use thread_local #54

Merged
merged 4 commits into from Oct 9, 2020
Merged

Conversation

shogo82148
Copy link
Owner

__thread keyword is a specific language enhancement of GCC.
There is no guarantee that it will work on other platforms.

thread_local is C++11 standardized version of __thread.
thread_local is more compatible than __thread.

@shogo82148 shogo82148 merged commit 38f5012 into main Oct 9, 2020
@shogo82148 shogo82148 deleted the use-c11-tls branch October 9, 2020 01:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant