Let's say I have a class with a static function. The class's constructor does a pthread_create using the static function as its entry point.
My question is:
If I had multiple instances of this class, would they all run their own thread using that function? Are there any issues with doing this? And... if the function itself had static variables in it, would I have a problem with it not being re-entrant?