sleep

why sleep time of a thread is not guaranteed?
[52 byte] By [padikkathavana] at [2007-11-27 3:42:17]
# 1
Because it is entirely depending on underlying OS , Thread scheduler and other factors
AnanSmritia at 2007-7-12 8:45:52 > top of Java-index,Core,Core APIs...
# 2
thanks.but what does this mean ? "underlying OS, threadscheduler "
padikkathavana at 2007-7-12 8:45:52 > top of Java-index,Core,Core APIs...
# 3
The thread invocation is determined by the thread scheduler. This scheduler determines when to invoke the thread based on thread priority, time slicing and other facters. This thread scheduler is governed by the Operating system.
AnanSmritia at 2007-7-12 8:45:52 > top of Java-index,Core,Core APIs...