Fix a bug in fibers-batch-map (and related procedures)
And add more tests.
This commit is contained in:
parent
e8ab6f23d8
commit
4e791aff68
2 changed files with 21 additions and 1 deletions
|
@ -79,7 +79,10 @@
|
|||
(define result-vec
|
||||
(make-vector vecs-length))
|
||||
|
||||
(let loop ((next-to-process-index 0)
|
||||
(let loop ((next-to-process-index
|
||||
(if (= 0 vecs-length)
|
||||
#f
|
||||
0))
|
||||
(channel-indexes '()))
|
||||
(if (and (eq? #f next-to-process-index)
|
||||
(null? channel-indexes))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue