Parallel Build: silence worker breaks

This commit is contained in:
Kevin Tew 2010-09-10 14:26:00 -06:00
parent 1dc555e0af
commit 770b6c82f1

View File

@ -2,6 +2,11 @@
(require compiler/cm)
(require racket/match)
(define prev-uncaught-exception-handler (uncaught-exception-handler))
(uncaught-exception-handler (lambda (x)
(when (exn:break? x) (exit 1))
(prev-uncaught-exception-handler x)))
(let ([cmc (make-caching-managed-compile-zo)]
[worker-id (read)])
(let loop ()