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

Check for non-empty event buffer on perfhup #26

Closed
wants to merge 1 commit into from

Conversation

pwaller
Copy link
Contributor

@pwaller pwaller commented May 10, 2020

Previously, if poll returned HUP, we would immediately return ErrDisabled, but
this means we could miss events if there are events waiting in the buffer.

Fixes: #23

Previously, if poll returned HUP, we would immediately return ErrDisabled, but
this means we could miss events if there are events waiting in the buffer.

Fixes: acln0#23
@pwaller pwaller mentioned this pull request May 10, 2020
@pwaller
Copy link
Contributor Author

pwaller commented May 10, 2020

Please consider this patch carefully. I'm still not certain that this fixes all the underlying issues. I'll let you think about it before explaining what I understand, so that we each cover as much ground as possible :)

@pwaller
Copy link
Contributor Author

pwaller commented Aug 31, 2020

Friendly ping. My memory of this is fading. I spent a fair amount of time trying to understand this at the time, and concluded this was the right thing to do. Without it, I recall seeing events missing from the ring buffer.

@pwaller
Copy link
Contributor Author

pwaller commented Nov 15, 2020

Ping @acln0

@pwaller
Copy link
Contributor Author

pwaller commented Jun 22, 2023

Ping, it would be nice to try and resolve this some time. Hope all is well.

@pwaller pwaller closed this May 25, 2024
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.

Missing events due to early return on perfhup
1 participant