physfs/lzma/CPP/7zip/Archive/Common/CrossThreadProgress.cpp

16 lines
281 B
C++
Raw Normal View History

2008-01-23 04:52:35 +01:00
// 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;
}