openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/rsyslog/8.1903.0-r0/rsyslog-8.1903.0/runtime/stream.c
static void stopWriter(strm_t* pThis)
{
    pThis->bStopWriter = 1;
    pthread_cond_signal(&pThis->notEmpty);
    d_pthread_mutex_unlock(&pThis->mut);
    pthread_join(pThis->writerThreadID, NULL);
}
/* stop the writer thread (we MUST be runnnig asynchronously when this method
 * is called!). Note that the mutex must be locked! -- rgerhards, 2009-07-06
 */
stop the writer thread (we MUST be runnnig asynchronously when this method
is called!). Note that the mutex must be locked.
stop the writer thread ( we MUST be runnnig asynchronously when this method is called! ) . Note that the mutex must be locked .
static void stopWriter(strm_t* pThis)
{
    pThis->bStopWriter = 1;
    pthread_cond_signal(&pThis->notEmpty);
    d_pthread_mutex_unlock(&pThis->mut);
    pthread_join(pThis->writerThreadID, NULL);
}
static void stopWriter ( strm_t * pThis ) { pThis -> bStopWriter = 1 ; pthread_cond_signal ( & pThis -> notEmpty ) ; d_pthread_mutex_unlock ( & pThis -> mut ) ; pthread_join ( pThis -> writerThreadID , NULL ) ; }
stop the writer thread (we MUST be runnnig asynchronously when this method
 is called!).
stop the writer thread ( we MUST be runnnig asynchronously when this method is called! ) .