Garry's Mod Wiki
Threads in Lua are returned by the coroutine.create function. They have no properties or member functions, and are used by the coroutine.resume function.
Be aware that coroutines are not multi-threading in the traditional sense. Coroutines are not run in parallel. See here for more information on Lua coroutines.
Read the chapter on coroutines in the Lua online manual for some examples
This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.
Page content is automatically updated four times a day. Edits and history are not available.
Last Parsed: Loading...