mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-09-12 09:07:46 -04:00
Comment: replace signal with pthread_cond
This commit is contained in:
parent
3116c0358a
commit
2ac08595ef
1 changed files with 1 additions and 2 deletions
3
portable/ThirdParty/GCC/Posix/port.c
vendored
3
portable/ThirdParty/GCC/Posix/port.c
vendored
|
@ -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:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue