lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Friday 31 March 2006 5:38 pm, Diego Nehab wrote:
> I believe we need some C support. I was thinking about creating a
> layer in C that implements a libevent-like dispatch loop but that
> uses opaque descriptors. Those could be fds on UNIX or HANDLEs on
> Windows.

that's what i've done, but using pthreads instead of events

> We would also have to adapt Lua's file I/O functions and LuaSocket
> functions to integrate well with this abstraction layer.

done that too, but the network lib is just the bare minimum for TCP.

the whole point of HTT is making easy to write non-blocking libraries and 
provide a consistent Lua interface

-- 
Javier

Attachment: pgpZdHb_hpL0U.pgp
Description: PGP signature