Multithreaded Lua performance
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Multithreaded Lua performance
- From: Mark Hamburg <mhamburg@...>
- Date: 2003年8月06日 15:22:34 -0700
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?
Mark