From 8f303f9146921e9606fc2d8d4dc47b903e5dca95 Mon Sep 17 00:00:00 2001 From: irwir Date: Fri, 31 Aug 2018 15:14:54 +0300 Subject: [PATCH] Implicit _endthread call: comment changed --- library/timing.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/library/timing.c b/library/timing.c index 7832d04d2..4feb79d7f 100644 --- a/library/timing.c +++ b/library/timing.c @@ -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 )