Skip to content

Commit

Permalink
Posix: Removed unused signal set from port (FreeRTOS#528)
Browse files Browse the repository at this point in the history
Co-authored-by: Jakob Hasse <0xjakob@users.noreply.github.com>
  • Loading branch information
0xjakob and 0xjakob authored Jul 25, 2022
1 parent 859dbaf commit 349e803
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions portable/ThirdParty/GCC/Posix/port.c
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ static inline Thread_t * prvGetThreadFromTask( TaskHandle_t xTask )
/*-----------------------------------------------------------*/

static pthread_once_t hSigSetupThread = PTHREAD_ONCE_INIT;
static sigset_t xResumeSignals;
static sigset_t xAllSignals;
static sigset_t xSchedulerOriginalSignalMask;
static pthread_t hMainThread = ( pthread_t ) NULL;
Expand Down Expand Up @@ -527,8 +526,6 @@ static void prvSetupSignalsAndSchedulerPolicy( void )
hMainThread = pthread_self();

/* Initialise common signal masks. */
sigemptyset( &xResumeSignals );
sigaddset( &xResumeSignals, SIG_RESUME );
sigfillset( &xAllSignals );

/* Don't block SIGINT so this can be used to break into GDB while
Expand Down

0 comments on commit 349e803

Please sign in to comment.