Re: Stack corruption on repetitive C to Lua calls, while thread is suspended (yield)

  • From: Mike Pall <mike-1309@xxxxxxxxxx>
  • To: luajit@xxxxxxxxxxxxx
  • Date: Wed, 25 Sep 2013 01:23:26 +0200

Alexandros Stergiakis wrote:
> So, is there any other way (or common practice) to return to lua
> space to execute code without losing the state of the suspended
> thread?

Use the main lua_State or an extra lua_State.

--Mike

Other related posts: