forked from ruby/rake
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MultiTask no longer spawns a thread for each prerequisite
WorkerPool: - now has the ability to execute an array of blocks and wait for them all to execute. - only adds a new thread when there is no thread waiting for action. This slows the ramp up and threads are better reused - has a minimum and maximum size. By default, minimum is 1 and maximum is the maximum fixnum - removed unused #wait call MultiTask: - Now uses WorkerPool#execte_blocks to execute its prerequisites
- Loading branch information
1 parent
faa1ff1
commit 7fa886d
Showing
2 changed files
with
43 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters