blob: e49a3812de2a9a0b3fe789ae4050283214b0a13b (
plain) (
tree)
|
|
local clib = require 'libthreads'
nthread = 1
str='ad;alkfakd;af'
code = [[ function func(str) print(str) end; print(str);]]
print(code)
--thread = clib.Thread(code)
--thread:free()
require 'threads'
tt = threads.Thread(code)
|