botsense/bsProxy/bsProxyThread.c
void ThOneTimeInit()
{
  // create global mutex
  pthread_mutex_init(&BsThGlobalMutex, NULL);
  
  // create thread hash table keyed by device uri
  BsThHashTbl = hash_table_create(
        true,                               // dynamic table sizing
        (hashcount_t)BSPROXY_TH_HASH_MIN,   // minimum size
        (hashcount_t)BSPROXY_TH_HASH_MAX,   // maximum size
        NULL,                               // use default comparator function
        NULL,                               // use default hashing function
        ThHashDeleteData);                  // hash node data deletion function

  // turn off most asserts()
  hash_set_self_verify(false);
}
/*!
 * \brief The service thread one-time global initialization.
 */
\brief The service thread one-time global initialization.
\ brief The service thread one - time global initialization .
void ThOneTimeInit()
{
  pthread_mutex_init(&BsThGlobalMutex, NULL);
  BsThHashTbl = hash_table_create(
        true,                               
        (hashcount_t)BSPROXY_TH_HASH_MIN,   
        (hashcount_t)BSPROXY_TH_HASH_MAX,   
        NULL,                               
        NULL,                               
        ThHashDeleteData);                  
  hash_set_self_verify(false);
}
void ThOneTimeInit ( ) { pthread_mutex_init ( & BsThGlobalMutex , NULL ) ; BsThHashTbl = hash_table_create ( true , ( hashcount_t ) BSPROXY_TH_HASH_MIN , ( hashcount_t ) BSPROXY_TH_HASH_MAX , NULL , NULL , ThHashDeleteData ) ; hash_set_self_verify ( false ) ; }
\brief The service thread one-time global initialization.
\ brief The service thread one - time global initialization .
// create global mutex // create thread hash table keyed by device uri // dynamic table sizing // minimum size // maximum size // use default comparator function // use default hashing function // hash node data deletion function // turn off most asserts()