Await Task.Run( async() =>
{
A
..
String srcFilePath;
Strinf destFilePath;
..
Await File.CopyAaync(srcFilePath,destFilePath,true);
B
..
..
});
이론식으로하면 A처리하고얻은 srcFilePath,destFilePath를통해 filecopy하고 B처리하는식으로됨? 저기서 File.CopyAsync();를 그냥쓰면 파일 카피하는 속도가 너무느려서 프로세스점유중이라고뜨더라고.. 팁있음?
{
A
..
String srcFilePath;
Strinf destFilePath;
..
Await File.CopyAaync(srcFilePath,destFilePath,true);
B
..
..
});
이론식으로하면 A처리하고얻은 srcFilePath,destFilePath를통해 filecopy하고 B처리하는식으로됨? 저기서 File.CopyAsync();를 그냥쓰면 파일 카피하는 속도가 너무느려서 프로세스점유중이라고뜨더라고.. 팁있음?
글만봐서는 알 수 있는게 없는데 가능은 하지
기다릴필요없으면 await 뺴버리면 될듯?
a끝날때까지 b는 실행안댐
파일복사하는게느려서 더빨리처리해야함..