HI all,
I need to create a thread of 2 functions belonging to a same class.Can any one help me write
a class with 2 functions being threads?. Is there any predefined thread class from which i
can inherit?
Thanks in advance....
This is a discussion on Creating a thread in a class - C++ within the Windows Programming forums, part of the Platform Specific Boards category; HI all, I need to create a thread of 2 functions belonging to a same class.Can any one help me ...
HI all,
I need to create a thread of 2 functions belonging to a same class.Can any one help me write
a class with 2 functions being threads?. Is there any predefined thread class from which i
can inherit?
Thanks in advance....
Classes aren't special. Class member functions can also be executed in threads, but I take it you somehow want to make a member function of a class the start routine for a thread?
For information on how to enable C++11 on your compiler, look here.
よく聞くがいい!私は天才だからね! ^_^