第十题,条件变量用的就是普通的互斥锁(二元互斥锁mutex),C++封装为condition,互斥锁采用的lock notify的范式,条件变量修改范式为wait notify

相关推荐

牛客网
牛客网在线编程
牛客网题解
牛客企业服务