From 5ecc7b2af0adc5102bee16f1a7dba09df8b76012 Mon Sep 17 00:00:00 2001 From: "John M. Penn" Date: Wed, 1 Jul 2015 18:03:58 -0500 Subject: [PATCH] Remove RELEASE call when rt_nap is set --- trick_source/sim_services/Clock/Clock.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/trick_source/sim_services/Clock/Clock.cpp b/trick_source/sim_services/Clock/Clock.cpp index 420ded5a..77e5ef89 100644 --- a/trick_source/sim_services/Clock/Clock.cpp +++ b/trick_source/sim_services/Clock/Clock.cpp @@ -87,9 +87,6 @@ long long Trick::Clock::clock_spin(long long req_time) { curr_time = clock_time() ; /* Perform spin loop to allow current time to catch up to requested time */ while (curr_time < req_time) { - if ( exec_get_rt_nap() == 1 ) { - RELEASE(); - } curr_time = clock_time(); } return curr_time ;