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,305 times
Add to favorites
E-mail Twitter Digg Facebook