Changeset 2346
- Timestamp:
- 06/20/07 22:00:34 (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
r2328 r2346 1005 1005 else version( Posix ) 1006 1006 { 1007 int policy = sched_getscheduler( getpid() ); 1008 assert( policy != -1 ); 1007 int thread = pthread_self(); 1008 int policy; 1009 sched_param param; 1010 1011 int status = pthread_getschedparam( thread, &policy, ¶m ); 1012 assert( status == 0 ); 1009 1013 1010 1014 PRIORITY_MIN = sched_get_priority_min( policy );












