Notes of To Lock, Swap, or Elide: On the Interplay of Hardware Transactional Memory and Lock Free Indexing
主要研究了HTM and lock-free indexing的相互影响。
主要研究了HTM and lock-free indexing的相互影响。
Harris的这篇论文提出了一种新的non-blocking linked-list,不同于Valois使用auxiliary node,Harris在操作的时候进行了mark,解决了插入丢失的问题。论文中有详细的伪代码,清晰的描述了实现的细节。但要注意的是,实际实现必然涉及到内存回收,没有自动内存回收机制的语言会有点麻烦。
The C++ memory model and operations on atomic types的笔记。
Notes of Lecture 3 Big Data, Hardware Trends, and Apache Spark.
tmux的简单操作。
在ubuntu上进行update的时候,有的时候会不想升级某些包,这时可以用dpkg来hold住包,不让它升级。
原文是stackoverflow上的一个关于compare_exchange_weak()问题和相应的答案,我做了简单的翻译和整理。
这篇是转自CodingLabs的文章,除了有原文的内容,我加入了自己的一些思考和理解。