Attaching Member function of a class in pthread
Posted
by Sandeep
on Stack Overflow
See other posts from Stack Overflow
or by Sandeep
Published on 2010-03-17T06:16:13Z
Indexed on
2010/03/17
6:31 UTC
Read the original article
Hit count: 226
pthread_t thread1;
pthread_create(&thread1,NULL,.......,NULL);
// Here I want to attach a thread to a member function of class
How can I pass the member function of a class in the above code.
© Stack Overflow or respective owner