other-licenses/7zstub/src/7zip/Archive/Common/CrossThreadProgress.cpp

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/other-licenses/7zstub/src/7zip/Archive/Common/CrossThreadProgress.cpp	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,15 @@
     1.4 +// CrossThreadProgress.cpp
     1.5 +
     1.6 +#include "StdAfx.h"
     1.7 +
     1.8 +#include "CrossThreadProgress.h"
     1.9 +
    1.10 +STDMETHODIMP CCrossThreadProgress::SetRatioInfo(const UInt64 *inSize, const UInt64 *outSize)
    1.11 +{
    1.12 +  InSize = inSize;
    1.13 +  OutSize = outSize;
    1.14 +  ProgressEvent.Set();
    1.15 +  WaitEvent.Lock();
    1.16 +  return Result;
    1.17 +}
    1.18 +

mercurial