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

Add a predicate loop #2

Open
harrymt opened this issue Mar 13, 2017 · 0 comments
Open

Add a predicate loop #2

harrymt opened this issue Mar 13, 2017 · 0 comments

Comments

@harrymt
Copy link
Owner

harrymt commented Mar 13, 2017

In line 242, you don't have a predicate loop so there's a risk of spurious wakeup. I think this might also be related to the following problem.

Line 242

if(ETIMEDOUT == pthread_cond_wait(&demo_end_cv, &marker_available_mutex)) {

Change to a Predicate Loop.

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