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

[REQ] need a uninit_task parameter for thread_pool #152

Closed
debuggingbug opened this issue Jun 25, 2024 · 1 comment
Closed

[REQ] need a uninit_task parameter for thread_pool #152

debuggingbug opened this issue Jun 25, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@debuggingbug
Copy link

Describe the new feature

Now only has init_task, better has uninit_task.

Code example

BS::thread_pool task_thread_{1,
                             [] {
                                 ::CoInitializeEx(nullptr, COINIT_APARTMENTTHREADED);
                             },
                             [] { CoUninitialize(); }};

Additional information

@debuggingbug debuggingbug added the enhancement New feature or request label Jun 25, 2024
@bshoshany
Copy link
Owner

Hi @debuggingbug and thanks for opening this issue! This seems like a good idea. I will implement it in the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants