amibar / SmartThreadPool

A .NET Thread Pool fully implemented in C# with many features
http://www.codeproject.com/Articles/7933/Smart-Thread-Pool
Microsoft Public License
508 stars 182 forks source link

STP is incompatible with .NET 2.0 sp0 #6

Closed HakanL closed 10 years ago

HakanL commented 11 years ago

In .NET 2.0 sp0 we didn't have WaitOne/WaitAll/WaitAny that took waithandle(s) and an Int32. It was added in .NET 2.0 sp2. The overloads with exitContext = false provides identical functionality, but it's compatible with .NET 2.0 (yes I have machines that have 0 patches to them, nor can I affect them).

amibar commented 10 years ago

Cherry-picked into b797c98868dec60c658620603967bbcbeeaffadb