最近看到一个程序里的代码在关闭单个进程的时候使用了CreateJobObject();AssignProcessToJobObject();TerminateJobObject();的方式,想知道这种方式关闭进程和TerminateProcess()有什么区别吗? 字串2
网友解答:Details see MSDN help 字串9
网友解答:不大一样 字串2
网友解答:知道的帮忙指点下,msdn上说是一样的。It is not possible for any of the processes associated with the job to postpone or handle the termination. It is as if TerminateProcess were called for each process associated with the job.
字串3
网友解答:单个儿进程没有任何区别,多此一举。 字串9
网友解答: