botsense/bsProxy/bsProxyThread.c
static void ThCtlBlkDelete(BsProxyThCtl_T *pThCtl)
{
  if( pThCtl != NULL )
  {
    // delete uri
    delete((char *)pThCtl->m_sDevUri);

    // delete request queue
    DListVoidDelete(pThCtl->m_queue);

    // destroy condition
    pthread_cond_destroy(&pThCtl->m_condSync);

    // destroy mutex
    pthread_mutex_destroy(&pThCtl->m_mutexSync);

    // delete self
    delete(pThCtl);
  }
}
/*!
 * \brief Delete service thread control block.
 *
 * \param pThCtl  Pointer to thread control block.
 */
\brief Delete service thread control block.
\param pThCtl  Pointer to thread control block.
\ brief Delete service thread control block . \ param pThCtl Pointer to thread control block .
static void ThCtlBlkDelete(BsProxyThCtl_T *pThCtl)
{
  if( pThCtl != NULL )
  {
    delete((char *)pThCtl->m_sDevUri);
    DListVoidDelete(pThCtl->m_queue);
    pthread_cond_destroy(&pThCtl->m_condSync);
    pthread_mutex_destroy(&pThCtl->m_mutexSync);
    delete(pThCtl);
  }
}
static void ThCtlBlkDelete ( BsProxyThCtl_T * pThCtl ) { if ( pThCtl != NULL ) { delete ( ( char * ) pThCtl -> m_sDevUri ) ; DListVoidDelete ( pThCtl -> m_queue ) ; pthread_cond_destroy ( & pThCtl -> m_condSync ) ; pthread_mutex_destroy ( & pThCtl -> m_mutexSync ) ; delete ( pThCtl ) ; } }
\brief Delete service thread control block.
\ brief Delete service thread control block .
// delete uri // delete request queue // destroy condition // destroy mutex // delete self