摘要: 1 互斥锁在线程实际运行过程中,我们经常需要多个线程保持同步。这时可以用互斥锁来完成任务。互斥锁的使用过程中,主要有pthread_mutex_initpthread_mutex_destorypthread_mutex_lockpthread_mutex_unlock这几个函数以完成锁的初始化,锁... 阅读全文
posted @ 2015-09-11 17:22 三丰SanFeng 阅读(2306) 评论(0) 推荐(0) 编辑