Examples of Wait()


Examples of presage.Simulation.wait()

    Simulation simulation = new Simulation
        (presageConfig, agents, environment, pluginManager, scriptManager);
    synchronized(simulation)
    {
      simulation.play();
      simulation.wait();
    }
  }

  public ArrayList<PublicAgentDataModel> agentDataModels()
  {

Examples of ptolemy.actor.sched.Scheduler.wait()

                        // Synchronize on the scheduler.
                        Scheduler scheduler = getScheduler();

                        synchronized (scheduler) {
                            try {
                                scheduler.wait(timeToWait);
                            } catch (InterruptedException ex) {
                                // Continue executing.
                            }
                        }
                    }

Examples of ptolemy.kernel.util.Workspace.wait()

                _readPending = thread;
                _director.threadBlocked(thread, this, DDEDirector.READ_BLOCKED);

                while ((_readPending != null) && !_terminate) {
                    try {
                        workspace.wait(_director);
                    } catch (InterruptedException e) {
                        _terminate = true;
                        break;
                    }
                }

Examples of railo.commons.lang.SerializableObject.wait()

      //else {
      execute.start();
      if(timeout>0){
        try {
              synchronized(monitor) {
                monitor.wait(timeout);
              }
          }
        finally {
          execute.abort(terminateOnTimeout);
          }

Examples of rice.pastry.PastryNode.wait()

        } else {
          newNode = factory.newNode(bootHandle, Id.build(nodeId));
        }
        synchronized (newNode) {
          while (!newNode.isReady() && !newNode.joinFailed()) {
            newNode.wait(500);
            if (newNode.joinFailed()) {
              throw new IOException(
                  "Could not join the Pastry ring with reason: "
                      + newNode.joinFailedReason());
            }

Examples of test.MutableObject.wait()

                  return result2;
               }

               try
               {
                  holder.wait(timeout);
               }
               catch (InterruptedException x)
               {
                  Thread.currentThread().interrupt();
               }

Examples of umontreal.iro.lecuyer.simevents.eventlist.EventList.wait()

   }

   protected static final void simPassivate(ThreadProcessSimulator sim) {
      EventList evl = sim.getEventList();
      synchronized (evl) {
         try { evl.wait(); } catch (InterruptedException e) {}
      }
   }

   // The following methods are called by kill and killAll
   // of the Process class.

Examples of xcat.ports.ProvidesPortInfo.wait()

    if (pInfo != null) {
      synchronized(pInfo) {
  while (pInfo.getInUse()) {
    try {
      logger.finest("wait till the port is released");
      pInfo.wait();
    } catch (InterruptedException ie) {
      logger.severe("Exception while waiting for port to be released", ie);
    }
  }
  if (pInfo.isRemoved())

Examples of xcat.ports.UsesPortInfo.wait()

        // wait till the port is released
        while (uInfo.getInUse()) {
    try {
      logger.finest("wait till the port is released");
      uInfo.wait();
    } catch (InterruptedException ie) {
      logger.severe("Caught InterruptedException while waiting", ie);
    }
        }

Examples of xcat.ports.WSPortInfo.wait()

    if (wsInfo != null) {
      synchronized(wsInfo) {
  while (wsInfo.getInUse()) {
    try {
      logger.finest("wait till the port is available");
      wsInfo.wait();
    } catch (InterruptedException ie) {
      logger.severe("Exception while waiting for port to be released", ie);
    }
  }
  if (wsInfo.isUnregistered())
TOP
Copyright © 2018 www.massapi.com. 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.