lua-users home
lua-l archive

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


Doing what you suggested and with a COCO_NEW like
below, I now have plutos thread resume test passing.

#define COCO_NEW(OL, NL, cstacksize, mainfunc) \
{ void *cur=GetCurrentFiber(); if (cur==NULL ||
cur==(void *)0x1e00) ConvertThreadToFiber(NULL);}\
NULL)luaD_throw(OL, LUA_ERRMEM);

Now the only test failing is "Open upvalues" but TBH I
don't really need that feature.

Thanks for the tips


Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around