lua-users home
lua-l archive

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


Could you explain what you mean by having '2 entry points into the lua_State'?
And a follow-up 'dumb' question: you don't have multiple threads [OS] getting
into these 2 entry points, do you?

Basically if you look at the stack I posted, you'll see the following:

1) a function calls into Lua
2) lua calls a C function
3) the C function calls back into Lua

I'm going in and out of Lua twice.  It's all in the same thread
because it's all in the same stack.

wes