Respect use-default-io-waiters? for the fixed size thread pools
This commit is contained in:
parent
016f37f108
commit
cbafdb8668
1 changed files with 5 additions and 1 deletions
|
@ -371,7 +371,11 @@ from there, or #f if that would be an empty string."
|
||||||
|
|
||||||
(for-each
|
(for-each
|
||||||
(lambda (i)
|
(lambda (i)
|
||||||
(start-thread i channel))
|
(if use-default-io-waiters?
|
||||||
|
(call-with-default-io-waiters
|
||||||
|
(lambda ()
|
||||||
|
(start-thread i channel)))
|
||||||
|
(start-thread i channel)))
|
||||||
(iota size))
|
(iota size))
|
||||||
|
|
||||||
(fixed-size-thread-pool channel
|
(fixed-size-thread-pool channel
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue