[Issue 5438] Thread.sleep doesn't sleep

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Apr 15 07:46:45 PDT 2011


http://d.puremagic.com/issues/show_bug.cgi?id=5438


Steven Schveighoffer <schveiguy at yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |schveiguy at yahoo.com
         Resolution|                            |WORKSFORME


--- Comment #2 from Steven Schveighoffer <schveiguy at yahoo.com> 2011-04-15 07:43:16 PDT ---
This bug needs more details, as to exactly what is expected to happen.  Not
having any details, I can't tell what exactly you expect should happen.

I'm closing this, if you feel it was closed in error, please reopen with more
details.  Specifically, you should outline what the behavior currently is, and
what behavior you expect.  Also, any evidence showing the erroneous behavior
would be appreciated.

As a tip, Thread.sleep now accepts a core.time.Duration struct, which can be
initialized with units other than hnsecs.

e.g.

Thread.sleep(dur!"seconds"(5)); // sleep for 5 seconds

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list