in lua_error(), if luaG_errormsg() longjmps via luaD_throw(), isn't the call to lua_unlock() deadcode ? if so, would this cause any unbalanced lock/unlock issues ? thanks -taj