Skip to content

Possible text error in Chapter 7 #239

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

Closed
Extra-Creativity opened this issue Jul 8, 2022 · 0 comments
Closed

Possible text error in Chapter 7 #239

Extra-Creativity opened this issue Jul 8, 2022 · 0 comments

Comments

@Extra-Creativity
Copy link

Actual Description

  • File Path: book/en-us/07-Chapter 07 Parallelism and Concurrency.md
  • Original paragraph: (memory order part, acquire & release)

In addition, the performance of compare_exchange_strong may be slightly worse than compare_exchange_weak, but in most cases, compare_exchange_strong should be limited.

Expected Description

In addition, the performance of compare_exchange_strong may be slightly worse than compare_exchange_weak, but in most cases, compare_exchange_weak should be limited.

I'm a novice in the C++ memory order, but it seems not reasonable to use but while saying worse. And in my point of view, maybe compare_exchange_strong can be more controllable than compare_exchange_weak.

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

No branches or pull requests

1 participant