摘要: bash: while true; do ./a.out; done zsh: while true; do ./a.out; 阅读全文
posted @ 2023-02-26 22:15 yinhuachen 阅读(51) 评论(0) 推荐(0) 编辑
摘要: 啊 啊 啊 啊 操作系统会自动把线程放置在不同的处理器上 可以用top观察CPU使用率 啊 啊 啊 啊 a 甚至连一个简单的求和程序都做不对 a 汇编语言中的 lock: CPU的特性,通过总线加锁,解决多处理器的并发问题 啊 啊 a a a a a a asm volatile("":::"mem 阅读全文
posted @ 2023-02-26 17:01 yinhuachen 阅读(58) 评论(0) 推荐(0) 编辑
摘要: :%! command pipes the current file's contents to command's stdin, and replaces the file's contents with command's stdout. So, :%! sort is pretty much 阅读全文
posted @ 2023-02-26 16:52 yinhuachen 阅读(970) 评论(0) 推荐(0) 编辑
摘要: 可以把你当前的文件路径 放进一个栈里,后边拿出来 很方面的skim方法 阅读全文
posted @ 2023-02-26 16:48 yinhuachen 阅读(18) 评论(0) 推荐(0) 编辑