From 2ac08595ef2d264517a6edef4eed35b23191fe6a Mon Sep 17 00:00:00 2001 From: Alfred Gedeon Date: Fri, 4 Sep 2020 21:37:56 -0700 Subject: [PATCH] Comment: replace signal with pthread_cond --- portable/ThirdParty/GCC/Posix/port.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/portable/ThirdParty/GCC/Posix/port.c b/portable/ThirdParty/GCC/Posix/port.c index 8ff20fa9e..b7923f43d 100644 --- a/portable/ThirdParty/GCC/Posix/port.c +++ b/portable/ThirdParty/GCC/Posix/port.c @@ -446,7 +446,6 @@ BaseType_t uxSavedCriticalNesting; } prvSuspendSelf( pxThreadToSuspend ); - uxCriticalNesting = uxSavedCriticalNesting; } } @@ -457,7 +456,7 @@ static void prvSuspendSelf( Thread_t *thread ) int iSig; /* - * Suspend this thread by waiting for a SIG_RESUME signal. + * Suspend this thread by waiting for a pthread_cond_signal event. * * A suspended thread must not handle signals (interrupts) so * all signals must be blocked by calling this from: