Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/torch/threads-ffi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/init.lua b/init.lua
index 30ca9ae..a76fec3 100644
--- a/init.lua
+++ b/init.lua
@@ -6,6 +6,7 @@ threads.Thread = C.Thread
threads.Mutex = C.Mutex
threads.Condition = C.Condition
threads.Threads = require 'threads.threads'
+threads.safe = require 'threads.safe'
-- only for backward compatibility (boo)
setmetatable(threads, getmetatable(threads.Threads))