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 @@ -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
You can’t perform that action at this time.
0 commit comments