![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Linux
落叶来碗饭
挺好的 哈哈
展开
-
多线程绑核
/*thread.c*/ #define _GNU_SOURCE #include #include #include #include #include #include void thread_1(void) { unsigned int i=0; unsigned int j=0; cpu_set_t ma原创 2016-09-08 20:07:51 · 680 阅读 · 0 评论 -
epoll
// // a simple echo server using epoll in linux // // 2009-11-05 // 2013-03-22:修改了几个问题,1是/n格式问题,2是去掉了原代码不小心加上的ET模式;// 本来只是简单的示意程序,决定还是加上 recv/send时的buffer偏移// by sparkling // #include <s...原创 2018-03-30 11:32:34 · 123 阅读 · 0 评论 -
vi打开自带行号的方法
cd ~vi .vimrcset showcmd set showmatch set ignorecase set smartcase set incsearch set autowrite set hidden set numberset hlsearchset nowra...原创 2018-06-01 15:44:49 · 624 阅读 · 1 评论