Closed lhmouse closed 8 years ago
In RealWaitForOnceFlag() in file src/env/once_flag.c:
RealWaitForOnceFlag()
src/env/once_flag.c
if(bMayTimeOut && _MCFCRT_EXPECT(u64UntilFastMonoClock == 0)){ return false; }
The return false; statement should be return _MCFCRT_kOnceResultTimedOut;.
return false;
return _MCFCRT_kOnceResultTimedOut;
Fixed then. Thank goodness we have not made any use of this path in __gthread_once() or call_once() yet.
__gthread_once()
call_once()
In
RealWaitForOnceFlag()
in filesrc/env/once_flag.c
:The
return false;
statement should bereturn _MCFCRT_kOnceResultTimedOut;
.