title: Do I have to pthread_join each thread I create?
body: <p>From <code>pthread_join()</code> man page :</p>
  
  <p>When  a  <code>joinable</code>  thread terminates, its memory resources (thread descriptor and <code>stack</code>) are not deallocated until thread performs <code>pthread_join</code> on it. Therefore, <code>pthread_join</code> must be called once for each <code>joinable</code> thread created to avoid memory leaks.</p>
  
  <p>Does it mean i need to join each thread i create to prevent leaks? But joining blocks the caller.</p>
  
  <p>Please, explain more.</p>