lua-users home
lua-l archive

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

I just implemented multithreading for Lua by having lua_lock and lua_unlock
operate on a global pthread mutex. This seems to have hit my performance by
a factor of 3. That's without any other threads running. Is this to be
expected or should I be digging deeper for an error that I made elsewhere?