C语言互斥量与条件等待配合避免竞争 #include <stdio.h> #include <pthread.h> #include <unistd.h> #include <stdlib.h> pthread_cond_t pthread_cond = ... smallfish 7年前 (2017-11-11) 1654℃ 0喜欢