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

Interactive mode doesn't work in threads #16

Open
fpetran opened this issue Mar 20, 2017 · 0 comments
Open

Interactive mode doesn't work in threads #16

fpetran opened this issue Mar 20, 2017 · 0 comments

Comments

@fpetran
Copy link
Collaborator

fpetran commented Mar 20, 2017

Interactive output doesn't currently play nice with threads. It appears as if a second cin.operator<< is never reached because another thread also uses cin and hence blocks the first. Possible solutions: use boost.asio, or otherwise wrap the cin (which has its own locks) usage.

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