lua-users home
lua-l archive

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


On Tue, Sep 25, 2012 at 7:28 AM, Thijs Schreijer
<thijs@thijsschreijer.nl> wrote:
> DarkSideSync (DSS) is a library with no use on its own, it only supports
> other (multi threaded) libraries in handling async callbacks. It’s loaded
> by/from Lua and supports many libraries simultaneously, as long as they are
> designed to work with DSS. For now it only supports Windows (have to do the
> socket/lock wrapper code for unix still).

have you seen my Helper Threads Toolkit [1] ?

does roughly the same things (for POSIX systems), while presenting a
simple C API for for adapting libraries (just add a function for
preparation, work, and delivery) and a regular Lua API (including a
simple optional coroutine scheduler)


[1] http://helper-threads.luaforge.net/

-- 
Javier