Implicit _endthread call: comment changed

This commit is contained in:
irwir 2018-08-31 15:14:54 +03:00 committed by Simon Butcher
parent 3476de2013
commit 8f303f9146

View file

@ -267,7 +267,8 @@ static void TimerProc( void *TimerContext )
(void) TimerContext;
Sleep( alarmMs );
mbedtls_timing_alarmed = 1;
// Implicit call of _endthread() is better (see MS online docs)
/* _endthread will be called implicitly on return
* That ensures execution of thread funcition's epilogue */
}
void mbedtls_set_alarm( int seconds )