我试图使用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