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

linux read/write - Write events can be missed if there's insufficient output slots #89

Open
arr2036 opened this issue Jun 18, 2020 · 0 comments
Assignees
Labels

Comments

@arr2036
Copy link
Collaborator

arr2036 commented Jun 18, 2020

Because read/write filters now use a separate struct to track FDs inserted into epoll, and we get aggregate read/write notifications from epoll, if there's only one ev output slot, and the FD is readable and writable, we'd lose the write event.

We need to add knotes into a doubly linked list, and return those before calling the kqops.wait function for a given platform. This should be done in common code with the knote API being extended.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant