Skip to content

Dan develop #245

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

make thread pool
3 participants