Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (15 sloc) 171 Bytes
obj = @123
a = {
lock obj {
"took lock" print
{
^^123
}()
}
^321
}
async a()
wait
lock obj {
"released lock!" print
}