is epoll (epoll_wait, etc.) available for iOS?

大憨熊 提交于 2019-12-01 10:28:55

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!