lua-users home
lua-l archive

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


On Fri, 2006-08-11 at 15:19 +1000, D Burgess wrote:
> Is it valid to :
> 
> Have the same environment (LUA_GLOBALSINDEX) for 2
> different threads?
> 

>From the Reference Manual:

2.9 - Environments
Besides metatables, objects of types thread, function, and userdata have
another table associated with them, called their environment. Like
metatables, environments are regular tables and multiple objects can
share the same environment.

-- 
William Ahern <wahern@barracudanetworks.com>


--------------------------------------------------
This message was scanned for Spam, Spyware and Viruses
For more information, please visit:
http://www.barracudanetworks.com