title: Create pthread with the function of multiple arguments
body: <p>If I am going to create a pthread for the following function.</p>
  
  <p>Assume everything is properly delared.</p>
  
  <pre><code>pthread_create(&amp;threadId, &amp;attr, (void * (*)(void*))function, //what should be the arguments for here??);
  int a = 0;
  int b = 1;
  //c and d are global variables.
  
  void function(int a, int b){
      c = a;
      d = b;
  }
  </code></pre>