问题
I'm just embarking on porting some existing POSIX compliant code to iOS. From what I gather pthreads are available (good), but the compiler is not finding . Is epoll available for iOS?
回答1:
No. epoll is a Linux-specific system call.
The closest equivalent on the Darwin kernel is kqueue, but I strongly suspect that's considered SPI (and hence off-limits) on iOS.
来源:https://stackoverflow.com/questions/12327275/is-epoll-epoll-wait-etc-available-for-ios