Package com.hp.mwtests.ts.arjuna.resources

Examples of com.hp.mwtests.ts.arjuna.resources.BasicThreadedObject


public class ThreadActionTest
{
   
public static void main (String[] args)
    {
  BasicThreadedObject object1 = new BasicThreadedObject(true);
  BasicThreadedObject object2 = new BasicThreadedObject(false);

  System.out.println("Main thread has action "+BasicAction.Current());

  object1.start();
  object2.start();

  Thread.yield();
 
  try
  {
      object1.join();
      object2.join();
  }
  catch (InterruptedException e)
  {
  }
View Full Code Here

TOP

Related Classes of com.hp.mwtests.ts.arjuna.resources.BasicThreadedObject

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.