By Thierry.Lefort
via itmanagement.earthweb.com
Published: Nov 24 2008 / 23:18
One way that a daemon process differs from a normal backgrounded task is that a daemon process disassociates from its calling process and controlling terminal. This recipe outlines the standard procedure for creating a daemon process. This procedure includes forking once, calling setsid to become a session leader, then forking a second time.
Add your comment
Voters For This Link (15)
-
Thierry.Lefort -
Topnotch -
rlamarch -
projecktzero -
phymata -
mswatcher -
ikysil -
jaux -
LudoA -
fabiocaseri -
OtengiM -
cezio -
ashayh -
vojkog -
davneter