Merge branch 'main' into clear-pending-signals

This commit is contained in:
Rahul Kar 2025-02-07 16:52:12 +05:30 committed by GitHub
commit 313790da8d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -313,8 +313,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. */