Skip to content

Commit 24e785e

Browse files
authored
Update 线程状态转换以及基本操作.md
bug修改
1 parent ff7034c commit 24e785e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

2.线程的状态转换以及基本操作/线程状态转换以及基本操作.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,7 @@ Thread类除了提供join()方法外,另外还提供了超时等待的方法
185185
> Thread-6 terminated.
186186
> Thread-7 terminated.
187187
> Thread-8 terminated.
188+
> Thread-9 terminated.
188189
189190
在上面的例子中一个创建了10个线程,每个线程都会等待前一个线程结束才会继续运行。可以通俗的理解成接力,前一个线程将接力棒传给下一个线程,然后又传给下一个线程......
190191

0 commit comments

Comments
 (0)