December 2nd, 2009Using PLINQ for Managing Multiple Threads
I’m currently watching an online video (400 level, very high) from PDC while flying home from Chicago (and blogging about it). One of the common patterns I often implement is to write some code that does a bunch of “Thread.Start” type stuff and “Thread.IsAlive”.
http://microsoftpdc.com/Sessions/FT21
With PLINQ, this can be avoided with clean error free code (as long as my method is thread safe). Here is some simple code that demonstrates this.
(more…)







