mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-12-07 05:34:59 -05:00
Remove the config assert for restarting the scheduler
This commit is contained in:
parent
a0ad490a22
commit
55fba168be
1 changed files with 0 additions and 2 deletions
2
portable/ThirdParty/GCC/Posix/port.c
vendored
2
portable/ThirdParty/GCC/Posix/port.c
vendored
|
|
@ -285,8 +285,6 @@ BaseType_t xPortStartScheduler( void )
|
|||
/* Reset pthread_once_t, needed to restart the scheduler again.
|
||||
* memset the internal struct members for MacOS/Linux Compatability */
|
||||
#if __APPLE__
|
||||
/* Restarting the scheduler is currently unsupported on MacOS. */
|
||||
configASSERT( pdFALSE );
|
||||
hSigSetupThread.__sig = _PTHREAD_ONCE_SIG_init;
|
||||
memset( ( void * ) &hSigSetupThread.__opaque, 0, sizeof(hSigSetupThread.__opaque));
|
||||
#else /* Linux PTHREAD library*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue