Hello friends. I have small question about InterruptAttach func.
This slice from official documentation
int InterruptAttach( int intr, const struct sigevent * (* handler)(void *, int), const void * area, int size, unsigned flags );
A pointer to a communications area in your process that the handler can assume is never paged out, or NULL if you don’t want a communications area.
More precisely question about area argument. What is the benefit from use of this argument??? But i can use global variables.
I read from documentation - communications area in your process that the handler can assume is never paged out .
Never paged out???
IMHO, in RTOS Qnx memory never paged out to hard disk, or I wrong???
Ok, work with global variables in interrupt handler more slowly than work via area argument. But never paged out confuse me.
Please, friends, shed some light on this delicate point???