kernelsauce / turbo

Turbo is a framework built for LuaJIT 2 to simplify the task of building fast and scalable network applications. It uses a event-driven, non-blocking, no thread design to deliver excellent performance and minimal footprint to high-load applications while also providing excellent support for embedded uses.
http://turbo.readthedocs.io/
Apache License 2.0
528 stars 84 forks source link

OS X fixes #121

Closed pigoz closed 10 years ago

pigoz commented 10 years ago

I am not sure if the build product is usable yet (will test later) but at least this prevents any build errors to occur. That is quite surprising because I expected the epoll stuff to generate build errors.

kernelsauce commented 10 years ago

There is much more than needs to be done. There will not be any build errors for epoll as that is in Lua code only. So that would give you runtime errors instead...

You must add a kqueue poll implementation to the IOLoop class. The rest would probably be minor differences from Linux that would have to be sorted. Not a very big job tbh.

pigoz commented 10 years ago

Yeah, maybe I will work on this later. Lack of ldconfig on OSX is also causing problems.