Parallel process execution with partial completion of processes

On a recent project I came across an interesting parallel processing problem that I could not find a well defined pattern for. The problem was I needed to execute some long running processes synchronously and in parallel, but stop processing when a certain condition was met.

C# (40.8 KB)
 
 
 
 
 
(1)
1,054 times
Add to favorites
10/25/2011
E-mail Twitter del.icio.us Digg Facebook