How can I pass arguments (e.g. a pointer to a struct) to a signal handler? I'm writing a multithread application, so I cannot use global variables
I associate a timer to each thread. When timer expires I have to update a struct (each thread has a different struct).
How can I do?