bshoshany/thread-pool

[REQ] need a uninit_task parameter for thread_pool

debuggingbug opened this issue · 1 comments

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

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