title: C++ Thread in member function
body: <p>can I use thread in member function to call a member function for C++ in windows? If yes, how to implement it? Here is the sample</p>
  
  <pre><code>void Class::fun_1(void){
   _beginthread(fun_2, 0, NULL); //This is the error line :: function call missing argument list; use '&amp;Class::fun_2' to create a pointer to member
  }
  
  void Class::fun_2(void){
   printf("hello");
  }
  </code></pre>
  
  <p>Thanks</p>