我試圖使用parallel_for時,但我得到一個錯誤,代碼: #include "stdafx.h"
#include <iostream>
#include <windows.h>
#include <ppl.h>
using namespace std;
using namespace concurrency;
int _tmain(int argc, _TCHAR* ar
假設我有一個「獨特」的人員列表,我需要更新。我想用的Parallel.For() 方法問題: public void UpdatePerson(Person row){
row.Name = //get from cache and update property
}
VS public Person UpdatePerson(Person row){
row.Name