blob: 2db7d51f6adc5e0c9bbf26fcf5cd9978a183f3f2 (
plain) (
tree)
|
|
local threads = {}
local C = require 'libthreads'
threads.Thread = C.Thread
threads.Mutex = C.Mutex
threads.Condition = C.Condition
threads.Semaphore = C.Semaphore
--threads.Threads = require 'threads.threads'
-- only for backward compatibility (boo)
-- setmetatable(threads, getmetatable(threads.Threads))
-- return threads
|