PowerThreading ThreadPool with propagation
I have been playing with the cool PowerThreading library created by Jeffrey Richter from Wintellect (found in http://www.wintellect.com/MemberOnly/PowerThreading.aspx ) and replaced an old implementation of a custom thread pool we already had.
The thing is we needed to propagate the caller thread information (CAS, Execution Context, Culture) to the worker threads, so I modified the CallbackThreadPool.cs class provided in the library to give the new class those features.
The new class is called PowerThreadPool.cs and is included as an attachment in this post.
Enjoy!
Andrés G Vettori
MCSE/MCSD/MCT
EDS Top Gun - .NET Capability Architect
Leader of the C# Community of the Microsoft Users Group Argentina