Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,5 @@
|
|||
(for (N . Str) '("Enjoy" "Rosetta" "Code")
|
||||
(task (- N) (rand 1000 4000) # Random start time 1 .. 4 sec
|
||||
Str Str # Closure with string value
|
||||
(println Str) # Task body: Print the string
|
||||
(task @) ) ) # and stop the task
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
(for Str '("Enjoy" "Rosetta" "Code")
|
||||
(let N (rand 1000 4000) # Randomize
|
||||
(unless (fork) # Create child process
|
||||
(wait N) # Wait 1 .. 4 sec
|
||||
(println Str) # Print string
|
||||
(bye) ) ) ) # Terminate child process
|
||||
Loading…
Add table
Add a link
Reference in a new issue