[R-gregmisc-users] SF.net SVN: r-gregmisc: [1046] trunk/fork/man/fork.Rd
Brought to you by:
warnes
From: <wa...@us...> - 2007-02-05 23:21:42
|
Revision: 1046 http://svn.sourceforge.net/r-gregmisc/?rev=1046&view=rev Author: warnes Date: 2007-02-05 15:21:39 -0800 (Mon, 05 Feb 2007) Log Message: ----------- Add signal() to example for fork() Modified Paths: -------------- trunk/fork/man/fork.Rd Modified: trunk/fork/man/fork.Rd =================================================================== --- trunk/fork/man/fork.Rd 2007-02-05 23:21:13 UTC (rev 1045) +++ trunk/fork/man/fork.Rd 2007-02-05 23:21:39 UTC (rev 1046) @@ -162,10 +162,12 @@ close(con2) } +\dontrun{ # Important: if we aren't going to explicitly wait() for the child # process to exit, we need to tell the OS that we are ignoring child # process signals so it will let us die cleanly. signal("SIGCHLD","ignore") +} # fork off the process pid <- fork(recieve) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |