1
0
mirror of https://github.com/Snailclimb/JavaGuide synced 2025-06-20 22:17:09 +08:00

Merge pull request #131 from illusorycloud/patch-2

Fix:错别字
This commit is contained in:
SnailClimb 2019-01-30 21:38:45 +08:00 committed by GitHub
commit e5b16ea4a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -58,7 +58,7 @@ AQS使用一个int成员变量来表示同步状态通过内置的FIFO队列
private volatile int state;//共享变量使用volatile修饰保证线程可见性
```
状态信息通过procted类型的getStatesetStatecompareAndSetState进行操作
状态信息通过protected类型的getStatesetStatecompareAndSetState进行操作
```java