small epoll wrapper

I remember my first encounter with epoll some time back trying to get a simple server working, implementing a proxy and then a few days back i saw one of my friend trying to get started with epoll, which made me think it will be good to have a simple wrapper around epoll which will allow me to get started with the application and not worry about epoll specifics and at the same time providing enough control, so i wrote a small wrapper with callbacks, which has been quite helpful for my epoll usage, here is the interface poll.h

code and a sample can be found on github

PS - just checkout libevent which is an awesome battle tested event notification library, and a quick getting started

Published: March 12 2011

  • category:
blog comments powered by Disqus