State Maintainer: TrackThreadGroups

stateblock TrackThreadGroups augments RThread {
  addstate RThread.tgroup: RThread;

  precode RThread (t: java.lang.Thread) {
    tgroup = new RThreadGroup (t.getThreadGroup ());
  }

  helper getThreadGroup () returns RThread {
    return tgroup;
  }
}

About this file

Naccio Home Page
David Evans
University of Virginia, Computer Science