File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments