Windows CTRL + ALT + DEL杀死Java线程

时间:2021-08-12 01:02:23

How Windows CTRL+ALT+DEL works? What impact it has for running Java program threads?

Windows CTRL + ALT + DEL如何工作?它对运行Java程序线程有什么影响?

I'm running small Java program with thread and after CTRL+ALT+DEL thread is killed. How to prevent this?

我正在运行带有线程的小型Java程序,并且在CTRL + ALT + DEL线程被杀死之后。怎么预防这个?

1 个解决方案

#1


4  

You mean; CTRL+ALT+DEL into the task manager, then select your Java process and the user ends it?

你的意思是; CTRL + ALT + DEL进入任务管理器,然后选择你的Java进程,用户结束它?

You can't prevent it and you shouldn't. The CTRL+ALT+DEL mechanism is in place for processes which don't behave like they should and should be 'killed'.

你不能阻止它,你不应该。 CTRL + ALT + DEL机制适用于那些行为不正常且应该被“杀死”的进程。

If your process ends when the user just presses CTRL+ALT+DEL then something is wrong, that shouldn't be happening.

如果你的进程在用户按下CTRL + ALT + DEL时结束,那么就会出现问题,这应该不会发生。

#1


4  

You mean; CTRL+ALT+DEL into the task manager, then select your Java process and the user ends it?

你的意思是; CTRL + ALT + DEL进入任务管理器,然后选择你的Java进程,用户结束它?

You can't prevent it and you shouldn't. The CTRL+ALT+DEL mechanism is in place for processes which don't behave like they should and should be 'killed'.

你不能阻止它,你不应该。 CTRL + ALT + DEL机制适用于那些行为不正常且应该被“杀死”的进程。

If your process ends when the user just presses CTRL+ALT+DEL then something is wrong, that shouldn't be happening.

如果你的进程在用户按下CTRL + ALT + DEL时结束,那么就会出现问题,这应该不会发生。