SefrCd

Results 1 comments of SefrCd

我也有这个疑问!!,muduo库里面是维护一个pid_t 类型的holder变量来判断是否有线程持有锁。在析构函数里判断assert(holder == 0),如果等于0,才destroy