Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
13
Task/Concurrent-computing/EchoLisp/concurrent-computing.l
Normal file
13
Task/Concurrent-computing/EchoLisp/concurrent-computing.l
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
(lib 'tasks) ;; use the tasks library
|
||||
|
||||
(define (tprint line ) ;; task definition
|
||||
(writeln _TASK line)
|
||||
#f )
|
||||
|
||||
(for-each task-run ;; run three // tasks
|
||||
(map (curry make-task tprint) '(Enjoy Rosetta code )))
|
||||
|
||||
→
|
||||
#task:id:66:running Rosetta
|
||||
#task:id:67:running code
|
||||
#task:id:65:running Enjoy
|
||||
Loading…
Add table
Add a link
Reference in a new issue