public function createFork($pid, SharedMemory $shm, $debug = false)
    {
        return new Fork($pid, $shm, $debug);
    }
public function createFork($pid, SharedMemory $shm, $debug = false)
    {
        return new Fork($pid, $shm, $debug);
    }
public function createFork ( $ pid , SharedMemory $ shm , $ debug = false ) { return new Fork ( $ pid , $ shm , $ debug ) ; }
Creates a new fork instance.

@param int          $pid   Process id
@param SharedMemory $shm   Shared memory
@param bool         $debug Debug mode

@return Fork A new fork instance
Creates a new fork instance .