title: How to create threads in c with contiguous ids?
body: <p>I am trying to create threads in C that have contiguous id numbers.
  For example let us say I want to create 10 threads, then I want to give them the id's 1 through 10. Later on, I want to be able to access these id's and print them out from the thread function. Is this feasible?</p>
  
  <p>I know this may seem simple but I haven't managed to find a solution to this anywhere.</p>
  
  <p>Thanks</p>