misc/libphysfs/lzma/CPP/7zip/Archive/Common/CrossThreadProgress.cpp
author Wuzzy <Wuzzy2@mail.ru>
Mon, 03 Sep 2018 00:03:06 +0200
changeset 13743 d7b72ea8d136
parent 12213 bb5522e88ab2
permissions -rw-r--r--
Fix buggy behaviour when setting TurnTimeLeft through Retreat

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