RTEMS CPU Kit with SuperCore  4.11.3
Files | Macros | Functions | Variables
POSIX Signals Support

Internal Information about POSIX Signals. More...

Collaboration diagram for POSIX Signals Support:

Files

file  psignal.c
 POSIX Signals Manager Initialization.
 
file  psignalchecksignal.c
 POSIX Signals Check Signal.
 
file  psignalclearsignals.c
 POSIX Signals Clear Signals.
 
file  psignalsetprocesssignals.c
 POSIX Signals Set Process Signals.
 
file  psignalunblockthread.c
 POSIX Signals Thread Unlock.
 

Macros

#define _States_Is_interruptible_signal(_states)
 
#define SIGACTION_TERMINATE   { 0, SIGNAL_ALL_MASK, {_POSIX_signals_Abnormal_termination_handler} }
 
#define SIGACTION_IGNORE   { 0, SIGNAL_ALL_MASK, {SIG_IGN} }
 
#define SIGACTION_STOP   { 0, SIGNAL_ALL_MASK, {_POSIX_signals_Stop_handler} }
 
#define SIGACTION_CONTINUE   { 0, SIGNAL_ALL_MASK, {_POSIX_signals_Continue_handler} }
 
#define SIG_ARRAY_MAX   (SIGRTMAX + 1)
 
#define _POSIX_signals_Acquire(lock_context)   _Thread_queue_Acquire( &_POSIX_signals_Wait_queue, lock_context )
 
#define _POSIX_signals_Release(lock_context)   _Thread_queue_Release( &_POSIX_signals_Wait_queue, lock_context )
 
#define _POSIX_signals_Stop_handler   NULL
 
#define _POSIX_signals_Continue_handler   NULL
 

Functions

void _POSIX_signals_Manager_Initialization (void)
 POSIX signals manager initialization.
 
void _POSIX_signals_Action_handler (Thread_Control *executing, Thread_Action *action, Per_CPU_Control *cpu, ISR_Level level)
 
bool _POSIX_signals_Unblock_thread (Thread_Control *the_thread, int signo, siginfo_t *info)
 Unlock POSIX signals thread.
 
bool _POSIX_signals_Check_signal (POSIX_API_Control *api, int signo, bool is_global)
 Check POSIX signal.
 
bool _POSIX_signals_Clear_signals (POSIX_API_Control *api, int signo, siginfo_t *info, bool is_global, bool check_blocked, bool do_signals_acquire_release)
 Clear POSIX signals.
 
int killinfo (pid_t pid, int sig, const union sigval *value)
 
void _POSIX_signals_Set_process_signals (sigset_t mask)
 Set POSIX process signals.
 
void _POSIX_signals_Clear_process_signals (int signo)
 
void _POSIX_signals_Abnormal_termination_handler (int signo)
 

Variables

sigset_t _POSIX_signals_Pending
 
const struct sigaction _POSIX_signals_Default_vectors [SIG_ARRAY_MAX]
 
struct sigaction _POSIX_signals_Vectors [SIG_ARRAY_MAX]
 
Thread_queue_Control _POSIX_signals_Wait_queue
 
Chain_Control _POSIX_signals_Inactive_siginfo
 
Chain_Control _POSIX_signals_Siginfo [SIG_ARRAY_MAX]
 

Detailed Description

Internal Information about POSIX Signals.

Macro Definition Documentation

◆ _States_Is_interruptible_signal

#define _States_Is_interruptible_signal (   _states)
Value:
( ((_states) & \
#define STATES_WAITING_FOR_SIGNAL
This macro corresponds to a task waiting for a signal.
Definition: statesimpl.h:70
#define STATES_INTERRUPTIBLE_BY_SIGNAL
This macro corresponds to a task which is in an interruptible blocking state.
Definition: statesimpl.h:93