mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-30 06:50:31 +02:00
(n-par-for-each, n-for-each-par-map): Two more spots
where `futures' should become `threads' from Marius' change of 2006-01-29.
This commit is contained in:
parent
dd07ef3e72
commit
ee9c5b6e33
1 changed files with 2 additions and 2 deletions
|
@ -86,7 +86,7 @@
|
||||||
(threads '()))
|
(threads '()))
|
||||||
(do ((i 0 (+ 1 i)))
|
(do ((i 0 (+ 1 i)))
|
||||||
((= i n)
|
((= i n)
|
||||||
(for-each join-thread futures))
|
(for-each join-thread threads))
|
||||||
(set! threads
|
(set! threads
|
||||||
(cons (begin-thread
|
(cons (begin-thread
|
||||||
(let loop ()
|
(let loop ()
|
||||||
|
@ -115,7 +115,7 @@ of applying P-PROC on ARGLISTS."
|
||||||
(result results))
|
(result results))
|
||||||
(do ((i 0 (+ 1 i)))
|
(do ((i 0 (+ 1 i)))
|
||||||
((= i n)
|
((= i n)
|
||||||
(for-each join-thread futures))
|
(for-each join-thread threads))
|
||||||
(set! threads
|
(set! threads
|
||||||
(cons (begin-thread
|
(cons (begin-thread
|
||||||
(let loop ()
|
(let loop ()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue