Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

libevent and epoll,which is more efficient? [closed]

Tags:

libevent

epoll

I think these are the two event-dealing libraries among the best.

These two both have many users,but which is better?

like image 907
wireshark Avatar asked May 25 '11 05:05

wireshark


1 Answers

epoll is offered by Linux. libevent is built on top of epoll. Using epoll alone may thus be more efficient, if you know what you're doing.

like image 105
blais Avatar answered Nov 04 '22 19:11

blais