pike.git / lib / modules / Tools.pmod / Standalone.pmod / forkd.pike

version» Context lines:

pike.git/lib/modules/Tools.pmod/Standalone.pmod/forkd.pike:1:   #pike __REAL_VERSION__ + #require constant(Process.ForkdDecoder)    - #if !constant (Process.ForkdDecoder) - constant this_program_does_not_exist = 1; - #else -  +    //! Fork Daemon   //!   //! This is a light-weight daemon that can be used via @[Process.Process]   //! to spawn new processes (by specifying the @expr{"forkd"@} modifier).   //!   //! The typical use is when the main program is large and/or   //! when it has lots of open file descriptors. This can cause   //! considerable overhead in process creation.   //!   //! @seealso
pike.git/lib/modules/Tools.pmod/Standalone.pmod/forkd.pike:183:   {    Stdio.File fork_file = FdStream(3, "");       // Inform the dispatcher that we're up and running.    fork_file->write("\0");       fork_file->set_nonblocking(ignore, UNDEFINED, terminate);       return -1;   } -  - #endif // Process.ForkdDecoder +