[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Multiple lua_States
- From: Michael Roth <mroth@...>
- Date: Tue, 03 Aug 2004 14:55:31 +0200
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Jose Marin wrote:
| It's possible (and secure) to have more than one
| lua_State?
Yes, that's save. Lua is reentrant. You can create as many lua_States as
you would like.
However, the states are totally unrelated. Bindings, objects and values
created in one state are not visible in the other state. That's what you
want.
-----BEGIN PGP SIGNATURE-----
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFBD4tCSIrOxc3jOmoRAmCjAJ4rWkiN5c1O6M/qGw3Br4dfe1NhggCeIVo2
nsjdJHinBacB3JF6ZJf5+YE=
=g9XY
-----END PGP SIGNATURE-----