Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Can I use the java.util timers?

timers
0
10 Posted

Can I use the java.util timers?

0
10

The timers provided by the java.util.Timer class provide the same accuracy as in J2SE 5.0. To benefit from a better determinism, it is recommended to use the new timer classes from the RTSJ: javax.realtime.OneShotTimer and javax.realtime.PeriodicTimer. These new timers are based on a more accurate clock and allow you to specify the real-time context (priority, deadline) for each computation task associated with a given timer.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123