Implicit _endthread call: comment changed

This commit is contained in:
irwir 2018-08-31 15:14:54 +03:00 committed by GitHub
parent e1b82ad25f
commit da642d98c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -272,7 +272,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 )