Add tasks for all the new languages
This commit is contained in:
parent
9dc3c2bb62
commit
bba7bfd280
13208 changed files with 134745 additions and 0 deletions
15
Task/Fork/Lasso/fork.lasso
Normal file
15
Task/Fork/Lasso/fork.lasso
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
local(mydata = 'I am data one')
|
||||
|
||||
split_thread => {
|
||||
loop(2) => {
|
||||
sleep(2000)
|
||||
stdoutnl(#mydata)
|
||||
#mydata = 'Oh, looks like I am in a new thread'
|
||||
}
|
||||
}
|
||||
|
||||
loop(2) => {
|
||||
sleep(3000)
|
||||
stdoutnl(#mydata)
|
||||
#mydata = 'Aha, I am still in the original thread'
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue