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

Commit

Permalink
Fix deprecation message for core.thread.sleep(long period).
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Rønne Petersen committed Jul 30, 2011
1 parent b820440 commit 7afe77c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/core/thread.d
Expand Up @@ -1066,9 +1066,6 @@ class Thread


/**
* $(RED Scheduled for deprecation in January 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
* duration supported by the operating system.
Expand Down Expand Up @@ -1141,6 +1138,9 @@ class Thread


/**
* $(RED Scheduled for deprecation in January 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
* duration supported by the operating system.
Expand Down

0 comments on commit 7afe77c

Please sign in to comment.