|
Hi,
However, there will always be someone asking: "Why doesn't Lua have multi-threading support?"You can get the best of both worlds by providing a simple coroutine scheduler, and make versions of all the AIO primitives that block the calling coroutine, and schedule a waiting coroutine by dequeuing the IOCP.
Now that everyone has dual core processors, and this tends to move to even more cores, how is the single-threaded AIO going to compare to multi-threading? Regards, Diego.