Skip to content

Commit 14c50b9

Browse files
committed
更新
1 parent 868062d commit 14c50b9

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

MD/ReentrantLock.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
# ReentrantLock 实现原理
22

3+
使用 `synchronize` 来做同步处理时,锁的获取和释放都是隐式的,实现的原理是通过编译后加上不同的机器指令来实现的。
4+
5+
而 ReentrantLock

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
- [`Synchronize` 关键字原理](https://github.com/crossoverJie/Java-Interview/blob/master/MD/Synchronize.md)
1010
- [多线程的三大核心](https://github.com/crossoverJie/Java-Interview/blob/master/MD/Threadcore.md)
1111
- [对锁的一些认知,有哪些锁](https://github.com/crossoverJie/Java-Interview/blob/master/MD/Java-lock.md)
12-
- ReentrantLock 实现原理
12+
- [ReentrantLock 实现原理 ](https://github.com/crossoverJie/Java-Interview/blob/master/MD/ReentrantLock.md)
1313
- [`ConcurrentHashMap` 的实现原理](https://github.com/crossoverJie/Java-Interview/blob/master/MD/ConcurrentHashMap.md)
1414
- [线程池原理](https://github.com/crossoverJie/Java-Interview/blob/master/MD/ThreadPoolExecutor.md)
1515
- [线程间通信](https://github.com/crossoverJie/Java-Interview/blob/master/src/main/java/com/crossoverjie/actual/ThreadCommunication.java)

0 commit comments

Comments
 (0)