title: PTHREAD_MUTEX_INITIALIZER vs pthread_mutex_init ( &mutex, param)
body: <p>Is there any difference between </p>
  
  <pre><code>pthread_mutex_t lock = PTHREAD_MUTEX_INITIALIZER;
  </code></pre>
  
  <p><strong>Or</strong></p>
  
  <pre><code>pthread_mutex_t lock;
  pthread_mutex_init ( &amp;lock, NULL);
  </code></pre>
  
  <p>Am I safe enough if I use only the first method ?</p>
  
  <p><strong>NOTE:</strong> My question mostly refers to very small programs where at the most what I'll do is connect several clients to a server and resolve their inquiries with worker threads.</p>