Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,3 @@
|
|||
(parallel-execute (lambda () (print "Enjoy"))
|
||||
(lambda () (print "Rosetta"))
|
||||
(lambda () (print "Code")))
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
(import (srfi 18))
|
||||
(define (parallel-execute . thunks)
|
||||
(let ((threads (map make-thread thunks)))
|
||||
(for-each thread-start! threads)
|
||||
(for-each thread-join! threads)))
|
||||
Loading…
Add table
Add a link
Reference in a new issue