Re:LuaJIT on Xen
by gcr on Saturday September 14, 2013 @07:46PM
(#6387560)
Is this because asynchronous I/O calls don't work consistently well on all the platforms that libuv targets?
[ Parent
| on HN ]
Re:LuaJIT on Xen
by justincormack on Saturday September 14, 2013 @07:58PM
(#6387598)
Async file IO on Linux is a bit odd, although it is gradually getting better. It only applies to unbuffered IO (I think still). So you have to use a thread to read or write. Windows has a more usable version. There is a Unix standard API but it is just implemented with threads normally anyway.