Parallel Programming

http://msdn.microsoft.com/en-us/library/dd460713(v=vs.110).aspx?cs-save-lang=1&cs-lang=vb#code-snippet-1