misc/libphysfs/lzma/CPP/7zip/Archive/Common/CrossThreadProgress.cpp
author alfadur
Tue, 17 Apr 2018 19:43:41 -0400
changeset 13330 3f2ee2f9b51d
parent 12213 bb5522e88ab2
permissions -rw-r--r--
fix/workaround for fullscreen crash in 0.9.24

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