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

Redox: Fix Condvar.wait(); do not lock mutex twice #43071

Closed
wants to merge 1 commit into from

Conversation

ids1024
Copy link
Contributor

@ids1024 ids1024 commented Jul 5, 2017

No description provided.

@rust-highfive
Copy link
Collaborator

r? @sfackler

(rust_highfive has picked a reviewer for you, use r? to override)

@sfackler
Copy link
Member

sfackler commented Jul 5, 2017

I'm not familiar with Redox's convar implementation but just deleting that loop entirely seems pretty suspicious.

@ids1024 ids1024 closed this Jul 5, 2017
@ids1024
Copy link
Contributor Author

ids1024 commented Jul 5, 2017

The loop was more or less duplicating the call to mutex_lock(); but actually I think it may be correct to remove that call rather than this 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

Successfully merging this pull request may close these issues.

None yet

3 participants