保存进度!

This commit is contained in:
Kane Wang 2024-01-25 18:03:01 +08:00
parent 28df267145
commit 71aacc4c78
3 changed files with 5 additions and 2 deletions

View File

@ -45,6 +45,9 @@ public class App
} }
} }
/**
* 用stop方法结束
*/
public static void 测试Stop线程() public static void 测试Stop线程()
{ {
Runnable work = new StopThread(); Runnable work = new StopThread();

View File

@ -3,7 +3,7 @@
* @Date: 2024-01-25 13:50:03 * @Date: 2024-01-25 13:50:03
* @LastEditors: Kane * @LastEditors: Kane
* @FilePath: /MultiThread/src/main/java/com/cpic/xim/thread/InterruptedThread.java * @FilePath: /MultiThread/src/main/java/com/cpic/xim/thread/InterruptedThread.java
* @Description: * @Description: 测试用Thead.interrupte方法结束线程
* *
* Copyright (c) ${2023} by Kane, All Rights Reserved. * Copyright (c) ${2023} by Kane, All Rights Reserved.
*/ */

View File

@ -3,7 +3,7 @@
* @Date: 2024-01-25 15:52:34 * @Date: 2024-01-25 15:52:34
* @LastEditors: Kane * @LastEditors: Kane
* @FilePath: /MultiThread/src/main/java/com/cpic/xim/thread/StopThread.java * @FilePath: /MultiThread/src/main/java/com/cpic/xim/thread/StopThread.java
* @Description: * @Description: 测试用stop方法结束线程
* *
* Copyright (c) ${2023} by Kane, All Rights Reserved. * Copyright (c) ${2023} by Kane, All Rights Reserved.
*/ */