Reduce runtime/ diffs between this branch and master.
(lambda ()
(deregister-subprocess-event registration)))))
-(define (normal/subprocess-wait process)
- ((ucode-primitive process-wait 1) (subprocess-index process)))
-
-(define (nonblocking/subprocess-wait process)
- (without-interrupts
- (lambda ()
- (let ((status (%subprocess-status process)))
- (if (eqv? status 0)
- (block-on-process-status-change))))))
-
-(define hook/subprocess-wait normal/subprocess-wait)
-
(define (subprocess-continue-foreground process)
(let loop ()
((ucode-primitive process-continue-foreground 1)