lua-users home
lua-l archive

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


on 10/11/06 7:36 PM, Glenn Maynard at glenn@zewt.org wrote:

> I noticed those.  It's a roadblock to multithreaded Lua, at least for
> my purposes.  (I'm also not sure about performance with the constant
> locking and unlocking.)  Generally threading Lua would be extremely
> useful to me, but I don't feel safe in taking that plunge just yet.

The locking overhead is pretty severe on an MP system even in the absence of
contention because locks tend to also impose memory and/or instruction
barriers.

Mark