这段时间想研究研究opencv,于是就跟着李超的OpenCV三大经典项目实战开始敲代码。一开始还是很顺利的,代码敲的很愉快,感慨于opencv的强大。寥寥几行代码,就能搞定窗...
这段时间想研究研究opencv,于是就跟着李超的OpenCV三大经典项目实战开始敲代码。一开始还是很顺利的,代码敲的很愉快,感慨于opencv的强大。寥寥几行代码,就能搞定窗...
github:https://github.com/bigonelby/webrtcUml/tree/master/latest[https://github.com/big...
github:https://github.com/bigonelby/webrtcUml/tree/master/latest[https://github.com/big...
github:https://github.com/bigonelby/webrtcUml/tree/master/latest[https://github.com/big...
github:https://github.com/bigonelby/webrtcUml/tree/master/latest[https://github.com/big...
github:https://github.com/bigonelby/webrtcUml/tree/master/latest[https://github.com/big...
github:https://github.com/bigonelby/webrtcUml/tree/master/latest[https://github.com/big...
github:https://github.com/bigonelby/webrtcUml/tree/master/latest[https://github.com/big...
github:https://github.com/bigonelby/webrtcUml/tree/master/latest[https://github.com/big...
github:https://github.com/bigonelby/webrtcUml/tree/master/latest[https://github.com/big...
github:https://github.com/bigonelby/webrtcUml/tree/master/latest[https://github.com/big...
github:https://github.com/bigonelby/webrtcUml/tree/master/latest[https://github.com/big...
github:https://github.com/bigonelby/webrtcUml/tree/master/latest[https://github.com/big...
github:https://github.com/bigonelby/webrtcUml/tree/master/latest[https://github.com/big...
github:https://github.com/bigonelby/webrtcUml/tree/master/latest[https://github.com/big...
github:https://github.com/bigonelby/webrtcUml/tree/master/latest[https://github.com/big...
github:https://github.com/bigonelby/webrtcUml/tree/master/latest[https://github.com/big...
github:https://github.com/bigonelby/webrtcUml/tree/master/latest[https://github.com/big...
最后的分析我觉着该是 。你是用的引用传参,但是内部做了 BaseLock的赋值拷贝 ,所以你 AutoLock 里存的是一个新的BaseLock对象 ,但是这个对象的pthread_mutex_t mutex 因为是赋值得来的,所以和传入的BaseLock 内的 pthread_mutex_t mutex 是一个相同地址的同一把锁,AutoLock 释放是把 自己内部的BaseLock释放并且释放了pthread_mutex_t mutex 。
github:https://github.com/bigonelby/webrtcUml/tree/master/latest[https://github.com/big...