Replace call to channel-has-waiter? by channel-check-waiter.
This commit is contained in:
parent
f0e7b6a43f
commit
5cb76fd27b
|
@ -99,8 +99,8 @@
|
||||||
|
|
||||||
(define (wait-for-channels read-channels write-channels timeout)
|
(define (wait-for-channels read-channels write-channels timeout)
|
||||||
;; check if we're borked from the outset
|
;; check if we're borked from the outset
|
||||||
(for-each channel-has-waiter? read-channels)
|
(for-each channel-check-waiter read-channels)
|
||||||
(for-each channel-has-waiter? write-channels)
|
(for-each channel-check-waiter write-channels)
|
||||||
|
|
||||||
(let ((thread-cell (make-cell (current-thread)))
|
(let ((thread-cell (make-cell (current-thread)))
|
||||||
(ready-channels-cell (make-cell (cons '() '())))
|
(ready-channels-cell (make-cell (cons '() '())))
|
||||||
|
|
Loading…
Reference in New Issue