pthread API is C API, we should pass global function as 3rd argument for pthread_create and which sould be of type void * and fourth argument should of void *.
When we use member function for pthread_create, member function is of class type, global to class itself not outside class and when we invoke the function this pointer comes into picture.
I know this can achived with static memebr function, but is there any waywe could achive this using memebr function?