One rather inefficient approach would be to have a global mutable
variable and a mutex for that variable, to record the last known time
"reading" for the entire system, and a temporal adjustment factor
(initially zero). If the difference between the last reading and the
(adjusted) current reading was a positive number, that difference would
be added to the temporal adjustment factor. This would prevent temporal
monotonicity being broken.
--
Robin
_______________________________________________
Reactive mailing list
Reac...@haskell.org
http://www.haskell.org/mailman/listinfo/reactive
> One rather inefficient approach would be to have a global mutable
> variable and a mutex for that variable, to record the last known time
> "reading" for the entire system, and a temporal adjustment factor
> (initially zero). If the difference between the last reading and the
> (adjusted) current reading was a positive number, that difference would
> be added to the temporal adjustment factor. This would prevent temporal
> monotonicity being broken.
>
That's exactly the approach I'm taking in my implementation. It's not
*that* inefficient.
--
Svein Ove Aas