mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-04-20 05:21:59 -04:00
Merge branch 'main' into ulTaskGetRunTimeCounter
This commit is contained in:
commit
c7e59d67bb
4
portable/ThirdParty/GCC/Posix/port.c
vendored
4
portable/ThirdParty/GCC/Posix/port.c
vendored
|
@ -303,8 +303,8 @@ BaseType_t xPortStartScheduler( void )
|
||||||
memset( ( void * ) &hSigSetupThread.__opaque, 0, sizeof( hSigSetupThread.__opaque ) );
|
memset( ( void * ) &hSigSetupThread.__opaque, 0, sizeof( hSigSetupThread.__opaque ) );
|
||||||
memset( ( void * ) &hThreadKeyOnce.__opaque, 0, sizeof( hThreadKeyOnce.__opaque ) );
|
memset( ( void * ) &hThreadKeyOnce.__opaque, 0, sizeof( hThreadKeyOnce.__opaque ) );
|
||||||
#else /* Linux PTHREAD library*/
|
#else /* Linux PTHREAD library*/
|
||||||
hSigSetupThread = PTHREAD_ONCE_INIT;
|
hSigSetupThread = ( pthread_once_t ) PTHREAD_ONCE_INIT;
|
||||||
hThreadKeyOnce = PTHREAD_ONCE_INIT;
|
hThreadKeyOnce = ( pthread_once_t ) PTHREAD_ONCE_INIT;
|
||||||
#endif /* __APPLE__*/
|
#endif /* __APPLE__*/
|
||||||
|
|
||||||
/* Restore original signal mask. */
|
/* Restore original signal mask. */
|
||||||
|
|
Loading…
Reference in a new issue