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

Chapter 03 / Shared work queue / missing change to sleep != 0? #6

Closed
baleboy opened this issue Jun 29, 2019 · 1 comment
Closed

Chapter 03 / Shared work queue / missing change to sleep != 0? #6

baleboy opened this issue Jun 29, 2019 · 1 comment

Comments

@baleboy
Copy link

baleboy commented Jun 29, 2019

In the shared work queue example in Chapter 3, shouldn't the work handler set "sleep" to a value other than 0 in order to wake up the waiting thread?

@baleboy
Copy link
Author

baleboy commented Jul 5, 2019

Looks like there is already a fix in #1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants