最近看到一个程序里的代码在关闭单个进程的时候使用了
CreateJobObject();
AssignProcessToJobObject();
TerminateJobObject();
的方式,想知道这种方式关闭进程和TerminateProcess()有什么区别吗?