lua-users home
lua-l archive

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


On Wed, Aug 20, 2003 at 10:22:19PM +0600, Antero Vipunen wrote:
> Hello Jules,
> 
> Tuesday, August 19, 2003, 2:23:51 PM, you wrote:

> So there is no way to add local variable to thread from the C-side
> as easily as global?

> 
> Because when I write in my scriptfile
>  local SomeVar;
> it works as I want(It became known only for this very thread)

As far as I know there is no way to add 'lexically scoped' local
variables from C side.

But, as I described, it is quite possible to change the global
environment of each thread: why is that not adequate for your needs?

Jules