misc/libphysfs/lzma/CPP/7zip/Archive/Common/CrossThreadProgress.cpp
author Wuzzy <Wuzzy2@mail.ru>
Sat, 24 Feb 2018 15:14:30 +0100
changeset 13071 ad75ed9a1e15
parent 12218 bb5522e88ab2
permissions -rw-r--r--
RC Plane Challenge: Switch to using fake crates only

// 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;
}