Luvit 2.5.6 Documentation


Thread#

Thread module for luvit

local thread = require('thread')

thread.start(threadFunc, ...)#

thread.join(thread)#

thread.equals(thread1, thread2)#

thread.self()#

thread.work(threadFunc, notifyEntry)#

thread.queue(worker, ...)#

Class: thread.Worker#

Luvit threadpool

Worker:queue(...)#