pthread_mutex_t //锁的数据类型 pthread_mutex_lock()//加锁,如果当前其他线程正占用锁,那么阻塞,直到得到锁pthread_mutex_lock() 你的当前访问异常,请进行认证后继续阅读剩余内容。 提交