Skip to content

Commit 9752436

Browse files
authored
Update java-concurrent-questions-03.md
1 parent c58d5c3 commit 9752436

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
@@ -249,7 +249,7 @@ public class ThreadPoolExecutorDemo {
249249
new ThreadPoolExecutor.CallerRunsPolicy());
250250

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

0 commit comments

Comments
 (0)