summaryrefslogtreecommitdiffstats
path: root/CPP/7zip/Archive/Common/CrossThreadProgress.cpp
blob: 62d05afdd7b4fd7c70176fb091b4682d0b6397ac (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;
}