C++ using this pointer in constructors
- by gilbertc
In c++, during a class constructor, I started a new thread with 'this' pointer as a parameter which will be used in the thread extensively (say, calling member functions). Is that a bad thing to do? Why and what are the consequences?
Thanks,
Gil.