摘要:
定义In UNIX System terminology, a process that has terminated,but whose parent has not yet waited for it, is called a zombie. 在UNIX 系统中,一个进程结束了,但是他的父进程没有等待(调用wait / waitpid)他, 那么他将变成一个僵尸进程.在fork()/execve()过程中,假设子进程结束时父进程仍存在,而父进程fork()之前既没安装 SIGCHLD信号处理函数调用 waitpid()等待子进程结束,又没有显式忽略该信号,则子进程成为僵尸进程。如何查看l. 阅读全文
posted @ 2014-04-01 18:44
天机无双
阅读(2267)
评论(0)
推荐(0)
浙公网安备 33010602011771号