|
|
(24 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
| Using this as personal SandBox mostly ;) | | Using this as personal SandBox mostly ;) |
− |
| |
− | {{newin|[[0.7.0]]|070|type=type}}
| |
− | A Thread is a chunk of code that can run in parallel with other threads.
| |
− |
| |
− | If a Lua error occurs in the thread, a message with the name "error" gets pushed to its message pool. Retrieve the message with <tt>Thread:get('error')</tt>.
| |
− | == Constructors ==
| |
− | {{#ask: [[Category:Functions]] [[Constructs::Thread]] [[Concept:Current]]
| |
− | | headers=hide
| |
− | | default=None.
| |
− | | ?Description
| |
− | | ?PrettySince
| |
− | | ?PrettyRemoved
| |
− | }}
| |
− | == Functions ==
| |
− | {{#ask: [[Category:Functions]] [[parent::Thread||Object]] [[Concept:Current]]
| |
− | | headers=hide
| |
− | | ?Description
| |
− | | ?PrettySince
| |
− | | ?PrettyRemoved
| |
− | }}
| |
− | == Supertypes ==
| |
− | * [[parent::Object]]
| |
− | == See Also ==
| |
− | * [[parent::love.thread]]
| |
− | -- removed --
| |
− | {{#set:Description=A Thread represents a thread.}}
| |
− | == Other Languages ==
| |
− | -- removed --
| |
Latest revision as of 04:21, 10 February 2018
Using this as personal SandBox mostly ;)