Simplified use of parallel_for_each by removing explicit thread context type
  template parameter.