love.thread (Русский)

Available since LÖVE 0.7.0
This module is not supported in earlier versions.

Позволяет работать с потоками.

O.png love.graphics_(Русский) и love.thread_(Русский) не дружат друг с другом. Не вызывайте функции love.graphics из Thread_(Русский).  


Типы

ChannelAn object which can be used to send and receive data between different threads.
ThreadA Thread represents a thread.

Функции

love.thread.getChannelCreates or retrieves a named thread channel.
love.thread.getThreadLook for a thread and get its object.
love.thread.getThreadsGet all threads.
love.thread.newChannelCreates a new unnamed thread channel.
love.thread.newThreadCreates a new Thread from a filename, string or FileData object containing Lua code.

Смотрите также

Другие языки