-
Notifications
You must be signed in to change notification settings - Fork 132
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
API to use subset of pthreadpool threads to do the work.
Summary: This diff splits the command command queueu and instead uses commands specific to each thread. This enables: - Waking up only subset of threads needed. - Waiting for only subset of threads In this commit the number of threads to use is a thread local variable. Subsetquent commit makes that a property of threadpool object Test Plan: pthreadpool-test Reviewers: Subscribers: Tasks: Tags:
- Loading branch information
1 parent
1787867
commit fa30cac
Showing
9 changed files
with
738 additions
and
234 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
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
Oops, something went wrong.