我們來試試看另外一個方法:不直接用 wait 系列system call 來等child process,而是從 SIGCHLD 這個signal 下手。 先來介紹signal handler 的概念。
確定! 回上一頁