[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: nCcalls in the global state keeps increasing in 5.2
- From: Wim Couwenberg <wim.couwenberg@...>
- Date: Sun, 7 Aug 2011 08:49:06 +0200
> As you are already using a non-standard Lua compilation, maybe you can
> simply change the limit LUAI_MAXCCALLS in luaconf.h to a much higher
> value.
What Markus describes is exactly how I implement multi threading in
Lua 5.1, both on Windows and on an embedded system OS. To understand
this issue properly, is there really a mismatch in the call counter?
This would imply that this threading model is inherently unreliable
with out-of-the-box Lua (and incrementing some limit would not solve
this imho). The only sane alternative to threading I can think of is
to create separate states (not just threads) and use inter-state
communication. That would be much more inconvenient to work with
though.
Bye,
Wim
- References:
- nCcalls in the global state keeps increasing in 5.2, Markus Schmid
- Re: nCcalls in the global state keeps increasing in 5.2, Roberto Ierusalimschy
- Re: nCcalls in the global state keeps increasing in 5.2, Markus Schmid
- Re: nCcalls in the global state keeps increasing in 5.2, Roberto Ierusalimschy
- Re: nCcalls in the global state keeps increasing in 5.2, Markus Schmid
- Re: nCcalls in the global state keeps increasing in 5.2, Roberto Ierusalimschy
- Re: nCcalls in the global state keeps increasing in 5.2, Markus Schmid
- Re: nCcalls in the global state keeps increasing in 5.2, Roberto Ierusalimschy
- Re: nCcalls in the global state keeps increasing in 5.2, Markus Schmid
- Re: nCcalls in the global state keeps increasing in 5.2, Markus Willhelm Schmid
- Re: nCcalls in the global state keeps increasing in 5.2, Roberto Ierusalimschy