-
Notifications
You must be signed in to change notification settings - Fork 152
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
Add support for eventfd-like mechanism #8
Comments
I could maybe do that, but please consider:
|
Thank you for considering this. At first sight this sounds as if this would be sufficient for the needs within libzmq. I can totally understand you don't want the scope of wepoll to blur. However, I think this addition cannot be built on top of wepoll, and it would be a significant improvement on Windows where you don't have AF_UNIX. However, I am somewhat surprised of your mentioning of socketpair. This were another alternative. Would that be possible in theory? I think this could not be built on top of (w)epoll as well, right? Regarding 6. I personally like wepoll_post slightly more. Should epoll_close be renamed to wepoll_close as well, after some deprecation cycle? Regarding 7. Requiring setting the flag explicitly is probably safer. |
This looks great!
Since we already have
My intuition would be that Since the posted event is an arbitrary, 'simulated' event, mandating special rules around EPOLLONESHOT is not necessary, IMO. If someone is messing around with |
I'm also interested, what is the status of this request ? |
To avoid the need for TCP loopback connections, an eventfd-like mechanism would be great that could be used with wepoll.
See existing work in truebiker@32442e4
The text was updated successfully, but these errors were encountered: