Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

ghost
Copy link

@ghost ghost commented Nov 7, 2019

This fixes a bug where only one thread was ever spawned :)

@ghost ghost mentioned this pull request Nov 7, 2019
@ghost
Copy link
Author

ghost commented Nov 7, 2019

Just did some interactive testing by spawning a bunch of blocking tasks that sleep for a random number of time and it seems the blocking pool now does exactly what it should: more threads are spawned on demand and we stop threads when they have no work to do.

@ghost ghost merged commit f588ba6 into async-rs:master Nov 7, 2019
@ghost ghost deleted the spawn-more-blocking branch November 7, 2019 23:39
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants