title: How to send additional parameters to an SDL Thread?
body: <p>Yes, I know how to create an SDL thread.</p>
  
  <pre><code>int myfunc(void* data)
  {
      //my code...
  }
  SDL_CreateThread* mythread=SDL_CreateThread(myfunc,NULL);
  </code></pre>
  
  <p>But what if i want to do something like:</p>
  
  <pre><code>int myfunc(void* data,int myparameter1,char myparameter2)
  {
      //my code...
  }
  SDL_CreateThread* mythread=SDL_CreateThread(myfunc,NULL,42,'c');
  </code></pre>
  
  <p>i.e how to create a thread for a function with more than one parameters (parameters excluding the usual 'void* data')
  If this is not possible can you suggest any method by which i can pass a parameter to a thread?</p>