Re: More accurate wording for java.util.concurrent.TimeUnit.sleep
Martin Buchholz via Concurrency-interest <[email protected]>
| Newsgroups | gmane.comp.java.jsr.166-concurrency |
|---|---|
| Message-ID | <CA+kOe09R6Wfk+t5za2Vrkc===V5jOaBUK0p6VW8=r-ktPUEhkA@mail.gmail.com> |
On Fri, Aug 30, 2019 at 4:38 PM David Holmes <[email protected]> wrote: > Martin, > > > > I think we took the opportunity with TimeUnit to tighten up the loose > specs from Thread.sleep. So I’m happy for TimeUnit to specify that <=0 is a > no-op rather than some vague system level thing that may or may not > actually have an observable affect. > Oh, OK. Another factoid I probably once knew and have now half-forgotten. _______________________________________________ Concurrency-interest mailing list [email protected] http://cs.oswego.edu/mailman/listinfo/concurrency-interest