title: using member functions in pthreads (Linux)
body: <p>I'm trying to use the following:</p>
  
  <p>pthread_create(&amp;searchThread[i], &amp;threadAttribs[i], DoStuff, &amp;ParallelParams[i]);</p>
  
  <p>If DoStuff is static it compiles but then I do not have access to any of the methods or variables that are part of the class that DoStuff is in. But if I keep DoStuff as a non-static method so that I can access everything else in the class I get the following compiler error:</p>
  
  <p>error: argument of type 'void* (MyClass::)(void*)' does not match 'void* (<em>)(void</em>)'</p>
  
  <p>where the error seems to be referring to the DoStuff argument and the fact that it's a member function.</p>
  
  <p>Is there any hope of being able to pass in a non-static method allowing me access to everything in MyClass in my DoStuff method?</p>
  
  <p>Thanks!</p>