Changeset 2110
- Timestamp:
- 04/23/07 15:42:11 (2 years ago)
- Files:
-
- trunk/lib/common/tango/core/Thread.d (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/lib/common/tango/core/Thread.d
r2108 r2110 181 181 } 182 182 183 pthread_cleanup cleanup; 183 // NOTE: Using void to skip the initialization here relies on 184 // knowledge of how pthread_cleanup is implemented. It may 185 // not be appropriate for all platforms. However, it does 186 // avoid the need to link the pthread module. If any 187 // implementation actually requires default initialization 188 // then pthread_cleanup should be restructured to maintain 189 // the current lack of a link dependency. 190 pthread_cleanup cleanup = void; 184 191 cleanup.push( &thread_cleanupHandler, cast(void*) obj ); 185 192












