EASE.Agents.Engine
Class AgentHolder.SafeThreadGroup

java.lang.Object
  |
  +--java.lang.ThreadGroup
        |
        +--EASE.Agents.Engine.AgentHolder.SafeThreadGroup

class AgentHolder.SafeThreadGroup
extends java.lang.ThreadGroup


Fields inherited from class java.lang.ThreadGroup
daemon, destroyed, groups, maxPriority, name, ngroups, nthreads, parent, threads, vmAllowSuspension
 
Constructor Summary
AgentHolder.SafeThreadGroup(java.lang.String name)
           
 
Method Summary
 void safeResume()
          This code is ugly but needs to be done like this because a sleeping thread cannot wake itself.
 void safeSuspend()
           
 
Methods inherited from class java.lang.ThreadGroup
activeCount, activeGroupCount, add, add, allowThreadSuspension, checkAccess, destroy, enumerate, enumerate, enumerate, enumerate, enumerate, enumerate, getMaxPriority, getName, getParent, interrupt, isDaemon, isDestroyed, list, list, parentOf, remove, remove, resume, setDaemon, setMaxPriority, stop, stopOrSuspend, suspend, toString, uncaughtException
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Constructor Detail

AgentHolder.SafeThreadGroup

public AgentHolder.SafeThreadGroup(java.lang.String name)
Method Detail

safeSuspend

public void safeSuspend()

safeResume

public void safeResume()
This code is ugly but needs to be done like this because a sleeping thread cannot wake itself.