Skip to content

Commit 7628b61

Browse files
authored
Merge pull request Snailclimb#1782 from Raxcl/patch-4
Update java-concurrent-questions-03.md
2 parents 3a30660 + 9752436 commit 7628b61

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/java/concurrent/java-concurrent-questions-03.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ public class ThreadPoolExecutorDemo {
250250
new ThreadPoolExecutor.CallerRunsPolicy());
251251

252252
for (int i = 0; i < 10; i++) {
253-
//创建WorkerThread对象(WorkerThread类实现了Runnable 接口)
253+
//创建 MyRunnable 对象(MyRunnable 类实现了Runnable 接口)
254254
Runnable worker = new MyRunnable("" + i);
255255
//执行Runnable
256256
executor.execute(worker);
@@ -631,4 +631,4 @@ CompletableFuture<Void> allFutures = CompletableFuture.allOf(
631631
- 《深入理解 Java 虚拟机》
632632
- 《实战 Java 高并发程序设计》
633633
- Java并发之AQS详解:https://www.cnblogs.com/waterystone/p/4920797.html
634-
- Java并发包基石-AQS详解:https://www.cnblogs.com/chengxiao/archive/2017/07/24/7141160.html
634+
- Java并发包基石-AQS详解:https://www.cnblogs.com/chengxiao/archive/2017/07/24/7141160.html

0 commit comments

Comments
 (0)