System clock changes and Java timer utilities

Discussion in 'Java' started by JKV, Feb 10, 2006.

  1. JKV

    JKV Guest

    Hi,

    If the system clock is changed backward or forward what is the expected
    result on calls like Thread.wait, Thread.sleep and scheduled timers in Java
    1.5?

    Does the underlying implementation use System.currentTimeMillis or similar
    or does it count the clock ticks?

    Is it hardware or OS dependent?

    Thanks,

    Jan
     
    JKV, Feb 10, 2006
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Valentin Tihomirov

    Are clock and divided clock synchronous?

    Valentin Tihomirov, Oct 23, 2003, in forum: VHDL
    Replies:
    11
    Views:
    3,392
    louis lin
    Oct 28, 2003
  2. Kelsang Wangchuk

    System.Timers.Timer vs. System.Threading.Timer

    Kelsang Wangchuk, Jul 31, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    756
    Kelsang Wangchuk
    Jul 31, 2003
  3. Replies:
    1
    Views:
    1,679
    Steve C. Orr [MVP, MCSD]
    Feb 22, 2005
  4. JKV
    Replies:
    4
    Views:
    6,052
    P.Hill
    Feb 14, 2006
  5. Replies:
    8
    Views:
    631
    Jorgen Grahn
    Jul 15, 2013
Loading...

Share This Page