[concurrency-interest] ScheduledThreadPoolExecutor schdeuling problem ?
hanson.char at gmail.com
Sat Dec 29 17:40:09 EST 2007
(I refer to JDK 6+). It seems a scheduled event via
ScheduledThreadPoolExecutor.schedule(Runnable command, long delay,
may occur before the target time. For example, if an event is
scheduled to occur 1000ms from now. The event could actually get
triggered after 990ms ie 10 ms less than the specified delay.
Is this a known issue ? Shouldn't the event be delayed for at least
the specified delay time ?
More information about the Concurrency-interest