互斥量 通常用于互斥访问: pthread_mutex_t m_mutex; pthread_mutex_intit(&m_mutex,NULL); pthread_mutex_lock(&m_mutex); ... pthread_mutex_unlock(&m_mutex); pthread_mutex_destory(&m_mutex); 信号量 <