PowerJob icon indicating copy to clipboard operation
PowerJob copied to clipboard

停止操作功能,能否增加停止三方的进程操作

Open audrey6666 opened this issue 3 years ago • 2 comments

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like A clear and concise description of what you want to happen.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here.

audrey6666 avatar Jun 14 '22 06:06 audrey6666

能否描述得具体一点?(具体的需求背景以及你的期望是怎样的)

Echo009 avatar Sep 03 '22 03:09 Echo009

目前会中止线程,即将线程的 interpreted 状态置为 true,但能否真正中断线程的执行取决于当前正在跑的任务。如果任务没有任何中断点(比如无任何 IO 操作,属于纯 CPU 计算)则无法被中断,这是 Java 层面的限制。

KFCFans avatar Sep 04 '22 15:09 KFCFans