aboutsummaryrefslogtreecommitdiff
path: root/tests/h.lua
blob: 9cddc293bc390abe362a4926746ef9648d4a9de5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
require "llib"

llib.thread.lock(1)

local thread_a = llib.thread.async(function (res)    
    --os.execute("sleep 1")
    --print((_G.ll + "hi"):final())
    
    res(_G.llib.crypto.md5("meow"))
    print("after")
end)

print(thread_a:await())