title: pthread_cond_wait and syslog writer conflict
body: <p>I am currently developing a pthread-related socket communication program with gcc / g++. I'm having a problem using syslog.</p>
  
  <p>If I do not use the <code>syslog()</code> function, <code>pthread_cond_wait</code> works correctly when I send <code>pthread_cond_signal</code>.</p>
  
  <p>However, when using the <code>syslog()</code> function, if I send <code>pthread_cond_signal</code>, then <code>pthread_cond_wait</code> has no response.</p>
  
  <p>Is this a problem with syslog?</p>