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

Thread can be sleeping under MRI, fix by using alive? #262

Merged
merged 1 commit into from
Jul 2, 2015

Conversation

film42
Copy link
Member

@film42 film42 commented Jul 2, 2015

For some reason, the broker thread will be sleeping under MRI and therefore will fail the !@broker_thread.stop? condition. Switching to @broker_thread.alive? fixes this and allows protobuf to function normally.

For some reason, the broker thread will be sleeping under MRI and
therefore will fail the !@broker_thread.stop? condition. Switching to
@broker_thread.alive? fixes this and allows protobuf to function
normally.
@liveh2o
Copy link
Contributor

liveh2o commented Jul 2, 2015

Any idea why Travis is failing?

@film42
Copy link
Member Author

film42 commented Jul 2, 2015

@abrandoned is fixing them in #261

abrandoned added a commit that referenced this pull request Jul 2, 2015
Thread can be sleeping under MRI, fix by using `alive?`
@abrandoned abrandoned merged commit ac3ddf3 into ruby-protobuf:master Jul 2, 2015
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.

3 participants