[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: io.popen() for a lua chunk?
- From: Mike <lua-l@...>
- Date: Wed, 10 Jun 2015 22:27:37 +0300
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