上一页 1 2 3 4 5 6 7 ··· 58 下一页
摘要: { "color_scheme": "Packages/Color Scheme - Default/Monokai.sublime-color-scheme", "draw_white_space": "all", "font_size": 13, "highlight_line": true, "ignored_packages": [ ... 阅读全文
posted @ 2019-09-03 20:18 c&z 阅读(171) 评论(0) 推荐(0)
摘要: 将下面内容添加到 ~/.bashrc 最后面 运行source ~/.bashrc 即可 阅读全文
posted @ 2019-08-21 09:21 c&z 阅读(4192) 评论(0) 推荐(1)
摘要: #if 0 Linux实现生产者消费者模型 1. 防止虚假唤醒 2. 唤醒线程的时机很重要,否则会导致线程多次访问锁,影响性能 #endif #include <unistd.h> #include <stdio.h> #include <iostream> #include <pthread.h> using namespace std; int g_value = 0; pthread_mut 阅读全文
posted @ 2019-08-20 14:21 c&z 阅读(1101) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 ··· 58 下一页