Initial patch developed by rdivacky@ in 2007, then extended
by Yuri Victorovich @ r255672 and finished by me
in collaboration with mjg@.
Details
- Reviewers
- None
- Group Reviewers
Linux Emulation - Commits
- rS283441: Implement epoll family system calls. This is a tiny wrapper
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
I hadn't reviewed the code yet, but had you considered implementing epoll() for FreeBSD binaries and then adding a Linux wrapper, like you did with eg. ppoll? In the long run this should make life a lot easier for ports folks. The ppoll() implementation already helped me with pesign port :-)
Interesting thought. We should get this in first in my opinion, and evaluate a native epoll as a separate later item.
It's because of porting - the more Linux APIs we implement, the less work it takes to port software written for Linux to FreeBSD.
Check that user supplied epfd file descriptor is a kqueue file descriptor
a bit earlier as in epoll_to_kevent() we use epoll.
Reported by: trinity
I can't accept this revision myself, but I can put my hands up in celebration as a comment
\o/
Thanks for all your hard work getting this together and landed Dmitry :)