Garry's Mod Wiki

Revision Difference

thread#548588

<cat>Dev.Lua</cat>⤶ ⤶ Threads in Lua are returned by the <page>coroutine.create</page> function. They have no properties or member functions, and are used by the <page>coroutine.resume</page> function.⤶ ⤶ Be aware that coroutines are not multi-threading in the traditional sense. Coroutines are not run in parallel. See [here](http://lua-users.org/wiki/CoroutinesTutorial) for more information on Lua coroutines.