Welcome to mirror list, hosted at ThFree Co, Russian Federation.

CrossThreadProgress.cpp « Common « Archive « 7zip « CPP - github.com/kornelski/7z.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a974b54c7e69bbea59f6a864acbc1bdb23b36495 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// CrossThreadProgress.cpp

#include "StdAfx.h"

#include "CrossThreadProgress.h"

STDMETHODIMP CCrossThreadProgress::SetRatioInfo(const UInt64 *inSize, const UInt64 *outSize)
{
  InSize = inSize;
  OutSize = outSize;
  ProgressEvent.Set();
  WaitEvent.Lock();
  return Result;
}