Thread pool threads are like preschool: Leave things the way you found them

A customer wanted to use the Windows thread pool, but they also wanted to use COM from their work item. They saw in the COM documentation that each thread must call Co­Initialize(Ex) before using COM, so they planned on doing something like this: thread_local bool isComInitialized = false; auto DoWork

Click here to read the article