Package edu.vt.rt.hyflow.core.tm.dtl2realtime

Examples of edu.vt.rt.hyflow.core.tm.dtl2realtime.DummyObject.wait()


                if(earlierDeadline(current, deadline) == DeadlineStatus.EARLIER) {
                  remainingTime.setTime(deadline);
                  remainingTime.subtract(current);

                  long milliSecRemaining = remainingTime.getSeconds()*1000 + remainingTime.getNanoseconds()/ 1000000;
                  object.wait(milliSecRemaining);
                  Logger.debug("Thread " + threadID + " Wait is over ");
                } else
                  Logger.debug("Thread " + threadID + " did not wait ");

              } catch(InterruptedException ex) {
View Full Code Here

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.