Views
Thread
| Available since LÖVE 0.7.0 |
| This type is not supported in earlier versions. |
A Thread is a chunk of code that can run in parallel with other threads.
Contents |
Constructors
| love.thread.newThread | Creates a new Thread from a File or Data Object. |
Functions
| Object:type | Gets the type of the object as a string. |
| Object:typeOf | Checks whether an object is of a certain type. |
| Thread:demand | Receive a message from a thread. Wait for the message to exist before returning. |
| Thread:getName | Get the name of a thread. |
| Thread:kill | Forcefully terminate the thread. |
| Thread:peek | Receive a message from a thread, but leave it in the message queue. |
| Thread:receive | Receive a message from a thread. |
| Thread:send | Send a message. |
| Thread:start | Starts the thread. |
| Thread:wait | Wait for a thread to finish. |