Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does OS X not support epoll function?

I'm learning to use epoll function. But my OS X, Mountain Lion doesn't have a header file, sys/epoll.h.

I'd like to use epoll function on OS X. How Can I use epoll function?

like image 747
inherithandle Avatar asked Dec 13 '12 09:12

inherithandle


1 Answers

Mac OS X doesn't support epoll, but it does support kqueue which is very similar.

like image 90
cmeerw Avatar answered Oct 17 '22 05:10

cmeerw