摘要:
答: 在~/.vimrc中写入以下内容即可: au BufWritePost *.c,*.cpp,*.h silent! !ctags -R & 参考资料: 一键打造vim ide 阅读全文
posted @ 2019-06-21 19:52
Jello
阅读(697)
评论(0)
推荐(0)
摘要:
答: sudo apt-get install strace -y 阅读全文
posted @ 2019-06-21 19:12
Jello
阅读(2625)
评论(0)
推荐(0)
摘要:
答: 使用信号量,wait队列,completion,调用schedule,用GFP_KERNEL指定的内存分配malloc,get,free,page等都会引起睡眠 思考: Q: 为什么会引起睡眠呢? A: 为了获取一些资源,这些资源当时不可得,因此进程进入睡眠,本质上就是进入不可被调度的状态,不 阅读全文
posted @ 2019-06-21 18:05
Jello
阅读(1054)
评论(0)
推荐(0)
摘要:
答: 添加过程如下: 1. 在当前项目的源码下执行一下命令来添加子模块 git submodule add <other_repository_url> <dir_name> such as: git submodule add https://github.com/vim/vim.git vim 阅读全文
posted @ 2019-06-21 15:25
Jello
阅读(995)
评论(0)
推荐(0)
摘要:
答: 1. 配置邮箱 git config --global user.email "jello_smith@163.com" 2. 配置用户名 git config --global user.name "jello_smith" 阅读全文
posted @ 2019-06-21 14:32
Jello
阅读(1437)
评论(0)
推荐(0)