% include( '/elements/header.html', 'Developer Documentation' ) %> <& /elements/menubar.html, 'Freeside Perl Modules' => $fsurl.'docs/library/FS.html', 'Complete Index' => $fsurl.'docs/library/index.html', &>
Executes CODEREF in a child process, with its own $FS::UID::dbh handle. If the number of child processes is >= $FS::Daemon::MAX_KIDS then this will block until some of the child processes are finished. ARGS will be passed to the coderef.
If the fork fails, this will throw an exception containing $!. Otherwise it returns the PID of the child, like fork() does.
Waits until there are at most MAX daemon_fork() child processes running, reaps the ones that are finished, and continues. MAX defaults to zero, i.e. wait for everything to finish.
Checks whether the database connection is live, and reconnects if not.
Hey! The above document had some coding errors, which are explained below:
'=item' outside of any '=over'
=over without closing =back