0
在我的代碼我打電話parallel_for時兩次:C++ 2個TBB :: parallel_for時循環效率
parallel_for(do some stuff); // I want this operation to finish first
parallel_for(do some other stuff); // then I want to do this
1)請問這種方法創建物理線程兩次?並讓它變慢?
2)如果需要,最好的方法是什麼將取代這兩個parallel_for調用?