I try to understand what the the __clone() system call is use for and what is killing zombies?Can anyone so me some example code.Useing C and C++
I try to understand what the the __clone() system call is use for and what is killing zombies?Can anyone so me some example code.Useing C and C++
Last edited by elitesyntax; 04-28-2004 at 07:50 AM. Reason: I should put this in linux programming.
Compiler Gcc
I think i found what i was looking for.Sorry i should pot it in linux programming area.
Compiler Gcc
__clone() is used to create new processes in linux, any function that makes a new process (fork()) eventually calles the clone system call. And zombie processes are usually daemons, they are processes that have no parents, the parents died and they were left behind. Killing zombies is killing all processes with no parents, which isn't always good because daeomns are ran like that so the parent can die w/o kiling the daemon. Of course, if you want to kill a zombie, you have to shoot it in the head with a silver bullet.
Help populate a c/c++ help irc channel
server: irc://irc.efnet.net
channel: #c