Skip to content

Cease dependence on Thread #58

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

Merged
merged 1 commit into from
Jul 15, 2021

Conversation

Kojoley
Copy link
Contributor

@Kojoley Kojoley commented Jun 12, 2021

On C++11 static local variables are initialized in thread-safe manner, but even on C++03 it should not be a problem because in our case variables are of trivial types, which means double initialization is not an issue, and they are initialized with the same value in every thread.

On C++11 static local variables are initialized in thread-safe manner, but even on C++03 it should not be a problem because in our case variables are of trivial types, which means double initialization is not an issue, and they are initialized with the same value in every thread.
@Kojoley Kojoley force-pushed the feature/cease-dependence-on-thread branch from 9dee89d to 28291a8 Compare June 12, 2021 19:35
@olk olk merged commit 9c0e903 into boostorg:develop Jul 15, 2021
@olk
Copy link
Member

olk commented Jul 15, 2021

ty, but note that boost.coroutine is deprecated

@Kojoley Kojoley deleted the feature/cease-dependence-on-thread branch July 15, 2021 14:04
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.

2 participants