Class marimba.util.ThreadUtil
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class marimba.util.ThreadUtil

java.lang.Object
   |
   +----marimba.util.ThreadUtil

public class ThreadUtil
extends Object
This class is a help class for threads. It currently just finds the system thread group so that you can create threads in the appropriate thread group.
Version:
1.2, 07/11/96
Author:
Arthur van Hoff

Variable Index

 o systemGroup
The system thread group.

Constructor Index

 o ThreadUtil()

Method Index

 o fork(String, Runnable)
Fork a user thread.
 o forkSystem(String, Runnable)
Fork a system thread.

Variables

 o systemGroup
  public static ThreadGroup systemGroup
The system thread group.

Constructors

 o ThreadUtil
  public ThreadUtil()

Methods

 o forkSystem
  public static Thread forkSystem(String name,
                                  Runnable target)
Fork a system thread. If the fork fails due to a security exception, make it a user thread.
 o fork
  public static Thread fork(String name,
                            Runnable target)
Fork a user thread.

All Packages  Class Hierarchy  This Package  Previous  Next  Index