atomic implementation
http://lxr.free-electrons.com/source/include/asm-generic/atomic.h#L140
http://stackoverflow.com/questions/34988277/write-once-in-linux-kernel-lists
https://github.com/google/ktsan/wiki/READ_ONCE-and-WRITE_ONCE
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/n4444.html
http://lwn.net/Articles/508991/
https://www.kernel.org/doc/Documentation/memory-barriers.txt
Friday, September 2, 2016
Friday, April 29, 2016
Thursday, January 7, 2016
Stop using unicode double quote in Google doc
Google doc has an option to automatically convert neutral double quote (") to unicode left double quote and right double quote. This is nice when typing some article. But it becomes annoying when typing some code ( and you want to just copy that code to a python script later).
To disable that, go to tools->preferences-> use smart qutoes, and just uncheck that box.
Subscribe to:
Posts (Atom)