包含对象成员的类的构造与析构顺序
摘要:https://blog.csdn.net/pfd001/article/details/50976517 https://blog.csdn.net/congxing9333/article/details/109703863 https://blog.csdn.net/u010275850/ar
阅读全文
posted @
2022-05-30 21:06
JJ_S
阅读(26)
推荐(0) 编辑
C++单例模式
摘要:https://blog.csdn.net/unonoi/article/details/121138176 https://zhuanlan.zhihu.com/p/37469260
阅读全文
posted @
2022-05-30 21:05
JJ_S
阅读(12)
推荐(0) 编辑
连通区域
摘要:参考 https://zhuanlan.zhihu.com/p/145449066 https://cloud.tencent.com/developer/article/1725110
阅读全文
posted @
2022-05-21 21:34
JJ_S
阅读(11)
推荐(0) 编辑
cmake学习
摘要:参考 https://www.cnblogs.com/xl2432/p/11225276.html#6-%E8%AE%BE%E7%BD%AE%E9%93%BE%E6%8E%A5%E5%BA%93%E6%90%9C%E7%B4%A2%E7%9B%AE%E5%BD%95 https://www.jian
阅读全文
posted @
2022-05-20 18:01
JJ_S
阅读(40)
推荐(0) 编辑
线程学习九: 条件变量
摘要:条件变量是利用线程间共享的全局变量进行同步的一种机制,主要包括两个动作:一个线程等待"条件变量的条件成立"而挂起;另一个线程使"条件成立"(给出条件成立信号)。为了防止竞争,条件变量的使用总是和一个互斥锁结合在一起。 1. 锁与条件变量之初始化 静态初始化 pthread_mutex_t mutex
阅读全文
posted @
2022-05-12 17:11
JJ_S
阅读(169)
推荐(0) 编辑