lua-users home
lua-l archive

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


On Wed, 10 Jun 2015 11:33:18 +1000
Daurnimator <...> wrote:
> cqueues (http://25thandclement.com/~william/projects/cqueues.html)
> includes a LWP (light weight process; aka thread) library:
> 
> local ct = require "cqueues.thread"
> local thread, sock = ct.start(function(sock)
>     sock:write("greeting\n")
> end)
> print(sock:read("*l"))
> 

It is very interesting. Thank you.

-- 
Mike