mirror of
https://github.com/Snailclimb/JavaGuide
synced 2025-08-01 16:28:03 +08:00
docs(java-concurrent-question-03.md): fix typo
This commit is contained in:
parent
4b34db7018
commit
e5422aee95
@ -688,7 +688,7 @@ public interface ReadWriteLock {
|
||||
|
||||

|
||||
|
||||
`ReentrantReadWriteLock` 也支持公平锁和非公平锁,默认使用非公平锁,可以通过构造器来显示的指定。
|
||||
`ReentrantReadWriteLock` 也支持公平锁和非公平锁,默认使用非公平锁,可以通过构造器来显式地指定。
|
||||
|
||||
```java
|
||||
// 传入一个 boolean 值,true 时为公平锁,false 时为非公平锁
|
||||
|
Loading…
x
Reference in New Issue
Block a user