mirror of
https://github.com/nasa/trick.git
synced 2025-01-18 02:40:08 +00:00
Remove RELEASE call when rt_nap is set
This commit is contained in:
parent
5d219d5e2e
commit
5ecc7b2af0
@ -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 ;
|
||||
|
Loading…
Reference in New Issue
Block a user