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

Commit

Permalink
lost a deprecation warning. adding it back
Browse files Browse the repository at this point in the history
  • Loading branch information
complexmath committed Jul 1, 2011
1 parent 1a2bc6b commit ac6d7ba
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/core/thread.d
Original file line number Diff line number Diff line change
Expand Up @@ -793,7 +793,7 @@ class Thread
// starting thread. In effect, not doing the add here risks
// having thread being treated like a daemon thread.
synchronized( slock )
{
{
version( Windows )
{
m_hndl = cast(HANDLE) _beginthreadex( null, m_sz, &thread_entryPoint, cast(void*) this, 0, &m_addr );
Expand Down Expand Up @@ -1064,8 +1064,11 @@ class Thread
// Actions on Calling Thread
///////////////////////////////////////////////////////////////////////////


/**
* $(RED Scheduled for deprecation in December 2011. 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 ac6d7ba

Please sign in to comment.