auto commit

This commit is contained in:
CyC2018
2018-09-29 22:34:48 +08:00
parent 668ee4e846
commit 6d5190805c
3 changed files with 13 additions and 6 deletions

View File

@ -1280,7 +1280,7 @@ Thread 对象的结束先行发生于 join() 方法返回。
# 十一、线程安全
多个线程不管以何种方式访问某个类,并在主调代码中不需要进行同步,都能表现正确的行为。
多个线程不管以何种方式访问某个类,并且1在主调代码中不需要进行同步,都能表现正确的行为。
线程安全有以下几种实现方式: