Linux signals with extra information parameter
- by Tester
I was to have some extra information in the callback to sa_sigaction handler, it does not seems possible.
So I was wondering if you could suggest me alternatives. Basic requirements:
Function A raises an signal/event with a pointer to a struct
Handler function tackles the event.
The handler function would only be called on an event and a loop to wait for the event, as in select() , is undesirable.
TIA