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 multithreaded problem with orphaned timeouts #214

Merged
merged 1 commit into from
Feb 12, 2015

Conversation

alim-akbashev
Copy link
Contributor

Modified version of HashedWheelScheduler specially for timeouts handling.

Difference:

  • handling old timeout with same key after adding new one
    fixes multithreaded problem that appears in highly concurrent non-atomic sequence cancel() -> schedule()

…ly concurrent non-atomic sequence cancel() -> schedule()
mrniko pushed a commit that referenced this pull request Feb 12, 2015
fix multithreaded problem with orphaned timeouts
@mrniko mrniko merged commit 614b091 into mrniko:master Feb 12, 2015
@alim-akbashev alim-akbashev deleted the fix-orphaned-timeouts branch February 12, 2015 08: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.

2 participants