Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

Changeset 3803

Show
Ignore:
Timestamp:
07/25/08 15:52:54 (4 months ago)
Author:
sean
Message:

Now explicitly setting thread joinable on init. This closes #1055

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lib/common/tango/core/Thread.d

    r3802 r3803  
    494494            if( m_sz && pthread_attr_setstacksize( &attr, m_sz ) ) 
    495495                throw new ThreadException( "Error initializing thread stack size" ); 
     496            if( pthread_attr_setdetachstate( &attr, PTHREAD_CREATE_JOINABLE ) ) 
     497                throw new ThreadException( "Error setting thread joinable" ); 
    496498        } 
    497499