core.thread sleep(long period)

Jonathan M Davis jmdavisProg at gmx.com
Fri Mar 8 21:04:30 PST 2013


On Saturday, March 09, 2013 04:26:38 Damian wrote:
> Scheduled for depreciation December 2012? as this been overlooked
> or is it not depreciated anymore?
> 
> core.thread
> static void sleep(long period);

Drat. I keep forgetting to look in druntime when moving stuff through the 
deprecation process. _No_ functions in druntime or Phobos (aside from those 
use to create durations)  should be taking naked integral values. They should 
be taking Duration.

If you ever see something in the docs which is scheduled for deprecation or 
deprecated, and the date given with it has passed, it's been missed, not 
purposefully left. If it had been purposefully left, any such notes would have 
been removed, and it wouldn't be marked as deprecated.

- Jonathan M Davis


More information about the Digitalmars-d mailing list