On 31-Mar-2012, at 2:19 PM, Balachandran Sivakumar wrote:

> 
>     In GNU/Linux, we now have epoll(7). Epoll is an event based I/O
> notification based library. scales better normally, but can be a
> little tricky if we are not used to event loops/event based
> programming. Thanks
> 


And then there are libev[1] and libevent[2] libraries which offers a nice 
abstraction over 
poll, kqueue, epoll, select etc. for events based programming.

GLIb[3] has a very easy interface to write an event loop too. Feels OOP but in 
C if thats your cup of tea ;).

Needless to say, programs written using these libraries are portable across 
multiple platforms.

[1]: http://software.schmorp.de/pkg/libev.html
[2]: http://libevent.org/ 
[3]: http://developer.gnome.org/glib/2.30/glib-The-Main-Event-Loop.html

- Sudharshan



_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to