2018年10月19日

摘要: Valgrind Memcheck 一个强大开源的程序检测工具 下载地址:http://valgrind.org/downloads/current.html Valgrind快速入门指南:http://valgrind.org/docs/manual/QuickStart.html 安装 cd v 阅读全文
posted @ 2018-10-19 14:33 汪成龙的博客 阅读(5062) 评论(0) 推荐(0)
 
摘要: 开源镜像站 清华 https://mirrors.tuna.tsinghua.edu.cn/ 中科大 http://mirrors.ustc.edu.cn/ Ubuntu 软件源配置生成器:https://mirrors.ustc.edu.cn/repogen/ 网易 http://mirrors. 阅读全文
posted @ 2018-10-19 14:05 汪成龙的博客 阅读(320) 评论(0) 推荐(0)
 
摘要: 在开发多线程程序时,当创建的线程数量特别多的时候,就会遇到线程数量的瓶颈。 多线程设置 设置内核参数 kernel.threads-max kernel.threads-max 是 linux 系统允许创建的最大线程数,默认是 7767 修改 /etc/sysctl.conf 配置文件中的 kern 阅读全文
posted @ 2018-10-19 10:12 汪成龙的博客 阅读(312) 评论(0) 推荐(0)