[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: LuaJIT + Pluto coroutine issue
- From: Mike Pall <mikelu-0512@...>
- Date: Tue, 6 Dec 2005 15:05:05 +0100
joe rossi wrote:
> True the issue is in Coco, not LuaJIT or Pluto. I
> don't know if it can unpersist yet. For me any
> coroutine.resume() blows up.
> Can you confirm this to crash an unmodified
> co = coroutine.create(function(x) print(x..', plz')
> end )
> coroutine.resume( co, 1 )
Nope. This works fine here:
$ luajit -e "co = coroutine.create(function(x) print(x..', plz') \
end); coroutine.resume( co, 1 )"
So, which platform do you use? In case you are embedding LuaJIT,
are you sure you called luaopen_coco(), too? Or are you using
lua_newthread() anywhere else (lua_newcthread() is required)?
Have you compiled all of LuaJIT and your project with the same