NAME

StoreProcess::Fork - Class for a StoreProcess that is run in a fork.

SYNOPSIS

This class is used in the same way as the StoreProcess-class. Please see the StoreProcess-class for more info.

DESCRIPTION

Class for a StoreProcess that is run in a fork.

The class is used in the same way as the StoreProcess-class. Please seee the StoreProcess-class for more information.

CONSTRUCTOR

new()

Instantiates the constructor of the class.

It is inherited from the StoreProcess-class and takes the same parameteres (see the StoreProcess-class for more information).

In addition it takes the parameter:

Returns the StoreProcess-instance.

METHODS

execute_startprocess()

Starts the fork'ed process and runs the function specified as the funcptr-parameter to the new()-method.

This method is inherited from the StoreProcess-class. Please see the StoreProcess-class for more information.

The method is not to be called by the user and is for internal use.

execute_cleanup()

Cleans up after the fork'ed process when it ends.

This method is inherited from the StoreProcess-class. Please see the StoreProcess-class for more information.

The method is for internal use and is not to be called by the user.

execute_cease()

Stops the fork'ed function-process running.

This method is inherited from the StoreProcess-class. Please see the StoreProcess-class for more information.

The method is for internal use and is not to be called by the user.

mydonothing()

Does nothing. Placeholder for a function-reference.

Does nothing and directly writes the exitcode of the function before exiting itself. It is mean as a replacement for a missing funcptr-option in the new()-method (see the new()-method for more information).

Returns the exitcode of the function invoked (and are taken as the exitcode of the process). If successful return 0, if not > 0.

The method is for internal use and is not to be called by the user.