You're passing a member function instead of a global, normal, one.
Just define:
void updateMessages(void *) {static ClientHandler c;// use c..}
You're passing a member function instead of a global, normal, one.
Just define:
void updateMessages(void *) {static ClientHandler c;// use c..}