Skip to content

Commit 4e58d55

Browse files
authored
Update 123.md
1 parent e8e698d commit 4e58d55

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

md/123.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,10 @@ t8 adds a to 1: 9
5454
t9 adds a to 1: 10
5555
```
5656

57-
一起正常,其实这已经是单线程顺序执行了,就本例子而言,已经失去多线程的价值,并且还带来了因为线程创建开销,浪费时间的副作用。
57+
一切正常,其实这已经是单线程顺序执行了,就本例子而言,已经失去多线程的价值,并且还带来了因为线程创建开销,浪费时间的副作用。
5858

5959
程序中只有一把锁,通过 `try...finally`还能确保不发生死锁。但是,当程序中启用多把锁,还是很容易发生死锁。
6060

6161
注意使用场合,避免死锁,是我们在使用多线程开发时需要注意的一些问题。
6262

63-
<center>[上一个例子](122.md) [下一个例子](124.md)</center>
63+
<center>[上一个例子](122.md) [下一个例子](124.md)</center>

0 commit comments

Comments
 (0)