Skip to content

Commit 612dd21

Browse files
committed
add code dir
1 parent cc5cb0e commit 612dd21

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed

code/empty.go

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
package main
2+
3+
func main() {}

memory_barrier.md

+22
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,30 @@
22

33
memory barrier 也称为 memory fence。
44

5+
```
6+
```
7+
58
参考资料:
69

710
https://homes.cs.washington.edu/~bornholt/post/memory-models.html
811

912
https://people.eecs.berkeley.edu/~rcs/research/interactive_latency.html
13+
14+
https://monkeysayhi.github.io/2017/12/28/%E4%B8%80%E6%96%87%E8%A7%A3%E5%86%B3%E5%86%85%E5%AD%98%E5%B1%8F%E9%9A%9C/
15+
16+
https://blog.csdn.net/zhangxiao93/article/details/42966279
17+
18+
http://kaiyuan.me/2017/09/22/memory-barrier/
19+
20+
https://blog.csdn.net/dd864140130/article/details/56494925
21+
22+
https://preshing.com/20120515/memory-reordering-caught-in-the-act/
23+
24+
https://preshing.com/20120710/memory-barriers-are-like-source-control-operations/
25+
26+
https://preshing.com/20120625/memory-ordering-at-compile-time/
27+
28+
https://preshing.com/20120612/an-introduction-to-lock-free-programming/
29+
30+
https://preshing.com/20130922/acquire-and-release-fences/
31+

0 commit comments

Comments
 (0)