Skip to content

Commit 392ffe6

Browse files
committed
add readme to singleton mode
1 parent fc6b5df commit 392ffe6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

03_singleton/README.md

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# 单例模式
2+
3+
使用懒惰模式的单例模式,使用双重检查加锁保证线程安全

0 commit comments

Comments
 (0)