-
Notifications
You must be signed in to change notification settings - Fork 25
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
support poll #33
Comments
A simple implementation would be to piggy-back off tsk->socket's poll e.g.
|
I was thinking about the same approach. We have to keep in mind, that we are above TCP/UDP. E.g. for For now it will be probably OK to return ENOTSUPP for unsupported cases IMHO. Just a note regarding |
For writes, this approach should work fine. For reads, tcp does the wakeup via the original sk_data_ready, so we would need to make sure we call it in the right places |
A custom callback |
fixed by #62 |
Poll isn't currently supported. Related, it looks like recvmsg / sendmsg don't block in blocking mode.
The text was updated successfully, but these errors were encountered: