[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Sharing a global table between two independent Lua interpreters
- From: steve donovan <steve.j.donovan@...>
- Date: Mon, 7 Apr 2014 11:26:01 +0200
On Mon, Apr 7, 2014 at 11:23 AM, Joachim Bürmann <jbuermann@iftools.com> wrote:
> I want to make it a little bit more clearer.
> I don't have to worry about concurrency access. Both interpreter are
> called within a single thread alternately.
Then why not run them as coroutines ("daughter threads")? They then
share global data automatically.