Linux signals with extra information parameter
Posted
by
Tester
on Stack Overflow
See other posts from Stack Overflow
or by Tester
Published on 2010-12-23T18:40:42Z
Indexed on
2011/01/09
22:53 UTC
Read the original article
Hit count: 154
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
© Stack Overflow or respective owner