Skip to content
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

Dan develop #245

Open
wants to merge 7 commits into
base: develop
Choose a base branch
from
Open

Dan develop #245

wants to merge 7 commits into from

Conversation

danielmortensen
Copy link

fixes #244
This object creates an arbitrary number of threads and places tasks on the threads when instructred by the main function. The enqueue function takes a std::function<void()> object and executes it. If an object function is desired, then it must be wrapped in a lambda. The destructor will wait for the functions to end and then join all the child threads.

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.

make thread pool
3 participants