Main Page   Class Hierarchy   Alphabetical List   Compound List   Compound Members  

util::Process Class Reference

#include <Runnable.h>

Inheritance diagram for util::Process:

util::Runnable util::Object List of all members.

Detailed Description

Process is an object the can be used to easily create a new process.

The new process is created using the fork system call. Note that the new process works in its own environment. Therefore, communication between processes cannot be made using variables, but shared memory or pipes or the like must be used.


Public Methods

 Process ()
void start (void) throw (RunException&)
 Start the parallel processing.


Member Function Documentation

void util::Process::start void    throw (RunException&) [virtual]
 

Start the parallel processing.

A new thread, process or daemon is created and its run method is called.

Exceptions:
RunException  & if the parallel processing code cannot be executed

Implements util::Runnable.


The documentation for this class was generated from the following files:
Documentation generated on 11.09.2003 with Doxygen.
The documentation is copyrighted material.
Copyright © Topi Mäenpää 2003. All rights reserved.