Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6568526

(thread) Thread.sleep(millis, nanos) should not return early

XMLWordPrintable

    • generic
    • generic

      Thread.sleep(millis,nanos) might possibly return before
      the specified time has elapsed, if nanos < 500,000, because
      in that case it rounds down to the nearest millis.

      Regardless of whether this behavior is strictly speaking permitted by
      the specification, the implementation should "at least" make a "best effort"
      to ensure that "at least" the specified time has elapsed.

            Unassigned Unassigned
            martin Martin Buchholz
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: