Thread overview
core.thread sleep(long period)
Mar 09, 2013
Damian
Mar 09, 2013
H. S. Teoh
Mar 09, 2013
Andrej Mitrovic
Mar 09, 2013
Jonathan M Davis
March 09, 2013
Scheduled for depreciation December 2012? as this been overlooked or is it not depreciated anymore?

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

Probably nobody has updated the code yet, but it *is* still deprecated, and will be removed any time now.


T

-- 
Freedom: (n.) Man's self-given right to be enslaved by his own depravity.
March 09, 2013
On 3/9/13, Damian <damianday@hotmail.co.uk> wrote:
> Scheduled for depreciation December 2012? as this been overlooked or is it not depreciated anymore?
>
> core.thread
> static void sleep(long period);
>

It's being removed soon: https://github.com/D-Programming-Language/phobos/pull/1176
March 09, 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