-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to add a Manager #107
Comments
in this demo ,the num of threads in the pool is fixed when the pool is created. Is there a more flexible algorithm or strategy ? How can i add a manager. I mean , in real project ,what should i add to the threadpool? Sorry that my English may be not very good. /(ㄒoㄒ)/~~ |
maybe you can fix the following Start func to your own: #include class ThreadPool
private:
}; // the constructor just launches some amount of workers // add new work item to the pool
} // the destructor joins all threads #endif |
No description provided.
The text was updated successfully, but these errors were encountered: