摘要:
函数名pthread_mutex_lock, pthread_mutex_trylock, pthread_mutex_unlock - lock and unlock a mutexSYNOPSIS概要#include int pthread_mutex_lock(pthread_mutex_t *mutex);int pthread_mutex_trylock(pthread_mutex_t *mutex);int pthread_mutex_unlock(pthread_mutex_t *mutex);描述pthread_mutex_lock()函数锁住由mutex指定的mutex对象。 阅读全文