FileDocCategorySizeDatePackage
Daemons.javaAPI DocExample3516Mon Apr 06 18:10:22 BST 1998None

Daemon

public class Daemon extends Thread

Fields Summary
private static final int
SIZE
private Thread[]
t
Constructors Summary
public Daemon()

     
    setDaemon(true);
    start();
  
Methods Summary
public voidrun()

    for(int i = 0; i < SIZE; i++)
      t[i] = new DaemonSpawn(i);
    for(int i = 0; i < SIZE; i++)
      System.out.println(
        "t[" + i + "].isDaemon() = " 
        + t[i].isDaemon());
    while(true) 
      yield();