Changeset 2348
- Timestamp:
- 06/20/07 22:31:04 (1 year 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
r2346 r2348 1005 1005 else version( Posix ) 1006 1006 { 1007 int thread = pthread_self();1008 1007 int policy; 1009 1008 sched_param param; 1010 1011 int status = pthread_getschedparam( thread, &policy, ¶m ); 1009 pthread_t self = pthread_self(); 1010 1011 int status = pthread_getschedparam( self, &policy, ¶m ); 1012 1012 assert( status == 0 ); 1013 1013












