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 mutex to linenoise calls in std::rl #5312

Closed
wants to merge 2 commits into from

Conversation

jjjjw
Copy link
Contributor

@jjjjw jjjjw commented Mar 11, 2013

#4758

Is it sufficient to reuse the preexisting lock function? Currently all globals must pass through a single mutex anyway. That does make this an anti-climactic fix.

@pcwalton
Copy link
Contributor

Can we make this not one huge lock? Huge locks worry me. We should probably have real globals first.

@jjjjw
Copy link
Contributor Author

jjjjw commented Mar 14, 2013

Hmm, I agree that there is a better way to handle this stuff, and that maybe it does just have to wait for the globals api. Thanks.

@jjjjw jjjjw closed this Mar 14, 2013
bors added a commit to rust-lang-ci/rust that referenced this pull request May 2, 2020
…ation, r=flip1995

Document that wildcard_imports doesn't warn about `use ...::prelude::*;`

changelog: Improve [`wildcard_imports`] documentation
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