posix多线程有感--同步
摘要:
1.创建和销毁互斥量pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER;int pthread_mutex_init(pthread_mutex_t *mutex,pthread_mutexattr_t *attr);int pthread_mute... 阅读全文
posted @ 2013-05-02 11:47 胡永光 阅读(141) 评论(0) 推荐(0) 编辑