lua-users home
lua-l archive

lua_newthread: is this essentially creating a coroutine?

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


Hi guys,
does lua_newthread create a new thread (OS thread)
or does it create a coroutine pushed to the existing
lua state?
what i'm trying to find out is if this new lua thread
created by lua_newthread will block other
existing lua threads (ie, coroutines).
-- 
salud,
eyan
http://www.eyan.org

AltStyle によって変換されたページ (->オリジナル) /