I'm using POSIX timers in C++ application, using timer_create() this timer will raise a signal when timer expires and to Handle this I want to use signal handler function (which is in my class method).
To achieve this I need to make this class method as static method, now if I wanna use any attribute in class that should be static variable!!! Is there any alternative method to achieve this ????
Thanks in advance