摘要:
原文见http://gcc.gnu.org/onlinedocs/gcc-4.1.2/gcc/Atomic-Builtins.html#Atomic-Builtins All of the routines are are described in the Intel documentation t 阅读全文
摘要:
errno是线程安全的吗? 假设有A, B两个线程都执行系统调用, 其中A返回EIO, B返回EAGAIN, 在判断返回值时是否会引起混淆? 简单的通过man errno就可以获取答案: errno is thread-local; setting it in one thread does not 阅读全文
摘要:
现在公司服务器上用的vimrc. 脚本最后几个插件几乎没怎么用到, 实际上熟读Practical Vim Edit Text at the Speed of Thought后除了ctags和cscope基本不需要其它插件. 将don't repeat yourself贯彻始终才是关键. 阅读全文
摘要:
Foreword Vim is highly configurable. However, customization is a personal thing, so I’ve tried to avoid recommending what should or should not go into 阅读全文