//deadline.subtract(iota_time);
//period_ts.subtract(iota_time);
Timespec currenttime = new Timespec();
currenttime.getTime();
if(currenttime.greaterThan(deadline)) {
//System.out.println("T_O AB1");
//System.out.println("Currenttime= " + currenttime.getSeconds() + " S " + currenttime.getNanoseconds() + " ns");
//System.out.println("Currenttime= " + deadline.getSeconds() + " S " + deadline.getNanoseconds() + " ns");
throw new InterruptedException();