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

Commit

Permalink
no need to set PTHREAD_CREATE_JOINABLE
Browse files Browse the repository at this point in the history
- it is already the default after pthread_attr_init
  • Loading branch information
MartinNowak committed Feb 2, 2015
1 parent 61e8d3a commit 5e819b0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/core/thread.d
Expand Up @@ -613,8 +613,6 @@ class Thread
throw new ThreadException( "Error initializing thread attributes" );
if( m_sz && pthread_attr_setstacksize( &attr, m_sz ) )
throw new ThreadException( "Error initializing thread stack size" );
if( pthread_attr_setdetachstate( &attr, PTHREAD_CREATE_JOINABLE ) )
throw new ThreadException( "Error setting thread joinable" );
}

version( Windows )
Expand Down

0 comments on commit 5e819b0

Please sign in to comment.