i\'m trying to create a new thread with a class \"CameraManager\" but i have the following error:
cannot convert \'*void(CameraManager:: * )(void*) to
You can't use a pointer to member function as a function pointer unless it's static. You'll have to make dequeueLoop a free function, or write a free function as a wrapper to it.
To access the class members in a free function, you should have the function pass it's this
pointer as the final argument of pthread_create. Then have the free function cast it's argument to a pointer to the class.