Comment: replace signal with pthread_cond

This commit is contained in:
Alfred Gedeon 2020-09-04 21:37:56 -07:00
parent 3116c0358a
commit 2ac08595ef

View file

@ -446,7 +446,6 @@ BaseType_t uxSavedCriticalNesting;
} }
prvSuspendSelf( pxThreadToSuspend ); prvSuspendSelf( pxThreadToSuspend );
uxCriticalNesting = uxSavedCriticalNesting; uxCriticalNesting = uxSavedCriticalNesting;
} }
} }
@ -457,7 +456,7 @@ static void prvSuspendSelf( Thread_t *thread )
int iSig; 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 * A suspended thread must not handle signals (interrupts) so
* all signals must be blocked by calling this from: * all signals must be blocked by calling this from: