Link Details

Link 136175 thumbnail
User 252611 avatar

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.
  • 15
  • 0
  • 988
  • 323

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.