Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Commit

Permalink
Belated deprecations.
Browse files Browse the repository at this point in the history
  • Loading branch information
jmdavis committed May 23, 2012
1 parent be3761a commit 296dc47
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions src/core/sync/condition.d
Expand Up @@ -211,8 +211,8 @@ class Condition


/**
* $(RED Scheduled for deprecation in January 2012. Please use the version
* which takes a $(D Duration) instead.)
* $(RED Deprecated. It will be removed in December 2012. Please use the
* version which takes a $(D Duration) instead.)
*
* Suspends the calling thread until a notification occurs or until the
* supplied time period has elapsed.
Expand All @@ -231,7 +231,7 @@ class Condition
* Returns:
* true if notified before the timeout and false if not.
*/
bool wait( long period )
deprecated bool wait( long period )
in
{
assert( period >= 0 );
Expand Down
6 changes: 3 additions & 3 deletions src/core/sync/semaphore.d
Expand Up @@ -260,8 +260,8 @@ class Semaphore


/**
* $(RED Scheduled for deprecation in January 2012. Please use the version
* which takes a $(D Duration) instead.)
* $(RED Deprecated. It will be removed in December 2012. Please use the
* version which takes a $(D Duration) instead.)
*
* Suspends the calling thread until the current count moves above zero or
* until the supplied time period has elapsed. If the count moves above
Expand All @@ -282,7 +282,7 @@ class Semaphore
* Returns:
* true if notified before the timeout and false if not.
*/
bool wait( long period )
deprecated bool wait( long period )
in
{
assert( period >= 0 );
Expand Down
6 changes: 3 additions & 3 deletions src/core/thread.d
Expand Up @@ -1081,8 +1081,8 @@ class Thread


/**
* $(RED Scheduled for deprecation in January 2012. Please use the version
* which takes a $(D Duration) instead.)
* $(RED Deprecated. It will be removed in December 2012. Please use the
* version which takes a $(D Duration) instead.)
*
* Suspends the calling thread for at least the supplied period. This may
* result in multiple OS calls if period is greater than the maximum sleep
Expand All @@ -1103,7 +1103,7 @@ class Thread
*
* ------------------------------------------------------------------------
*/
static void sleep( long period )
deprecated static void sleep( long period )
in
{
assert( period >= 0 );
Expand Down
6 changes: 3 additions & 3 deletions src/core/thread.di
Expand Up @@ -318,8 +318,8 @@ class Thread


/**
* $(RED Scheduled for deprecation in January 2012. Please use the version
* which takes a $(D Duration) instead.)
* $(RED Deprecated. It will be removed in December 2012. Please use the
* version which takes a $(D Duration) instead.)
*
* Suspends the calling thread for at least the supplied period. This may
* result in multiple OS calls if period is greater than the maximum sleep
Expand All @@ -340,7 +340,7 @@ class Thread
*
* ------------------------------------------------------------------------
*/
static void sleep( long period );
deprecated static void sleep( long period );


/**
Expand Down

0 comments on commit 296dc47

Please sign in to comment.