Garry's Mod Wiki

thread

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.