mirror of
https://github.com/Snailclimb/JavaGuide
synced 2025-06-16 18:10:13 +08:00
Update aqs.md
勘误:“ CountDownLatCh” 改为 “ CountDownLatch”
This commit is contained in:
parent
45660b1f11
commit
d9f0683677
@ -189,7 +189,7 @@ final boolean nonfairTryAcquire(int acquires) {
|
||||
|
||||
**2)Share**(共享)
|
||||
|
||||
多个线程可同时执行,如 `Semaphore/CountDownLatch`。`Semaphore`、`CountDownLatCh`、 `CyclicBarrier`、`ReadWriteLock` 我们都会在后面讲到。
|
||||
多个线程可同时执行,如 `Semaphore/CountDownLatch`。`Semaphore`、`CountDownLatch`、 `CyclicBarrier`、`ReadWriteLock` 我们都会在后面讲到。
|
||||
|
||||
`ReentrantReadWriteLock` 可以看成是组合式,因为 `ReentrantReadWriteLock` 也就是读写锁允许多个线程同时对某一资源进行读。
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user