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

Fix backoff livelock/deadlock #55

Merged
merged 3 commits into from
Dec 19, 2019
Merged

Fix backoff livelock/deadlock #55

merged 3 commits into from
Dec 19, 2019

Conversation

mratsim
Copy link
Owner

@mratsim mratsim commented Dec 19, 2019

Okay so livelock from #43 is fixed.

But we are not out of the woods. 3 out of 100 cases I got the following deadlock:

image

and logging doesn't trigger it, gotta love threading Heisenbugs.

This reverts commit 876bcf4.

This was just creating another problem it would have blocked a producer until the consumer tried to sleep
@mratsim
Copy link
Owner Author

mratsim commented Dec 19, 2019

So after formally verifying in #54 and solving the livelock I am left with yet another crouching tiger or hidden dragon to slay: Glibc.

Issue incoming.

@mratsim mratsim merged commit 1a45883 into master Dec 19, 2019
@mratsim mratsim deleted the fix-livelock branch December 22, 2019 23:46
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

1 participant