Include half-assed implementation of ADD-PENDING-CHANNEL.
This commit is contained in:
parent
d14e638e10
commit
5b47488938
|
@ -108,6 +108,10 @@
|
||||||
(set! *pending-channels* (delq channel *pending-channels*))
|
(set! *pending-channels* (delq channel *pending-channels*))
|
||||||
0)
|
0)
|
||||||
|
|
||||||
|
(define (add-pending-channel channel input?)
|
||||||
|
(set! *pending-channels* (cons channel *pending-channels*))
|
||||||
|
#t)
|
||||||
|
|
||||||
;----------------
|
;----------------
|
||||||
; Events
|
; Events
|
||||||
;
|
;
|
||||||
|
@ -147,7 +151,7 @@
|
||||||
*pending-channels*)
|
*pending-channels*)
|
||||||
=> (lambda (channel)
|
=> (lambda (channel)
|
||||||
(set! *pending-channels* (delq channel *pending-channels*))
|
(set! *pending-channels* (delq channel *pending-channels*))
|
||||||
(values (enum events io-completion-event)
|
(values (enum events io-read-completion-event)
|
||||||
channel
|
channel
|
||||||
0)))
|
0)))
|
||||||
(else
|
(else
|
||||||
|
|
Loading…
Reference in New Issue