nasa / TrickHLA

TrickHLA: An IEEE 1516 High Level Architecture (HLA) Simulation Interoperability Standard Implementation for Trick Base Simulations
Other
38 stars 15 forks source link

Refactor sleep timer to use wall-clock for timeout #64

Closed dandexter closed 3 years ago

dandexter commented 3 years ago

Need to refactor the sleep timer used in spin-locks to use the wall-cock time to determine timeout to be more accurate than counting the number of times nanosleep() was called.