目录 1、什么是条件变量 2、条件变量相关的API (1)创建条件变量 (2)pthread_cond_init()___初始化条件变量 (3)pthread_cond_destroy()___销毁条件变量 (4)pthread_cond_wait()___等待条件变量