lua-users home
lua-l archive

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

On 29.06.22 10:31, Marc H. Balmer wrote:
> Isn't calling into the same state from different times dangerous, even if you do
> proper locking?  With proper locking I mean every call of the C API must first
> obtain a lock, to prevent corrupting the stack, right?

Yes of course. A mtstates object is something like an Java object with
synchronized method(s).

Best regards,