I’m trying to send an address of a member function to my “Thread” class so I can activate it from there.
I read that I can use functors but I want it to be generic in a way that I can send it to my “Thread” constructor and functors need templates, so it won’t be enough for me…
Does anybody know a way to do this?
thanks 🙂
Finally I decided to use a stub function as suggested in this thread:
Create thread is not accepting the member function
thanks everbody 🙂