aboutsummaryrefslogtreecommitdiff
path: root/semestr-2/racket/l15/solution.bak
blob: 03ab86ae6ecf8d733780bd0150e225322a160bad (plain)
1
2
3
4
5
6
7
#lang racket



(define (run-concurrent . thunks)
  (define threads (map thread thunks))
  (for-each thread-wait threads))