Sign Håvard Rast Blok

Process Thread

Process Thread

ProcessThread runs a single method within a new thread. Arguments may be passed to the method, and return and exception values/objects retrieved afterwards.

Example of usage:


ProcessThread pt;
try
{
  pt = new ProcessThread( this, "someMethod" );
  pt.start();
}
catch(NoSuchMethodException e)
{
 System.out.println("The method was not found: "+e);
}

To be released soon...



site: Håvard Rast Blok
mail:
updated: 20 July 2006