class Scoreget{
private:
//some variables
public:
Scoreget(){
//something here
}
void* basicgetscore(){
You can't pass non static method to pthread_create
The most simple way, create static method which would run basicgetscore
Something like this
static void *Scoreget::basicgetscore_starter(void *p) {
Scoreget *t = (Scoreget *)p;
t->basicgetscore();
}
pthread_create(&t,NULL,&Scoreget::basicgetscore_starter,(void *)&s);