diff --git a/collects/mzlib/thread.ss b/collects/mzlib/thread.ss index 9ea8b01..05a2773 100644 --- a/collects/mzlib/thread.ss +++ b/collects/mzlib/thread.ss @@ -121,7 +121,7 @@ (raise-type-error 'merge-input "positive exact integer or #f" limit)) (let-values ([(rd wt) (make-pipe limit)] [(other-done?) #f] - [(sema) (make-semaphore)]) + [(sema) (make-semaphore 1)]) (let ([copy (lambda (from) (thread