examples
Class DeadlockTest

java.lang.Object
  |
  +--examples.DeadlockTest

public class DeadlockTest
extends java.lang.Object

Demonstrates how to produce deadlock via the waitEngineState method and the CGEngineCentral setEventsInNewThread method. Experiment by including the line: ((CGEngineProperties)props).setEventsInNewThread(false); in the code below.


Constructor Summary
DeadlockTest()
           
 
Method Summary
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeadlockTest

public DeadlockTest()
Method Detail

main

public static void main(java.lang.String[] args)