开发者

kqueue on iphone?

开发者 https://www.devze.com 2023-02-11 08:59 出处:网络
I am porting a linux server to ios. It is a single threaded, event driven design that uses kqueue on OSX to handle sockets and other events.Is there som开发者_Go百科ething

I am porting a linux server to ios. It is a single threaded, event driven design that uses kqueue on OSX to handle sockets and other events. Is there som开发者_Go百科ething similar on ios?

Thanks!


You could try using CoreFoundation. CFRunLoop can run an event loop for you, with sources including file descriptors and sockets.

0

精彩评论

暂无评论...
验证码 换一张
取 消