Changeset 8f4bddd in rtems for cpukit/posix/src/pthreadgetschedparam.c
- Timestamp:
- 12/19/00 16:42:15 (22 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- c533372
- Parents:
- da8d470
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpukit/posix/src/pthreadgetschedparam.c
rda8d470 r8f4bddd 41 41 case OBJECTS_LOCAL: 42 42 api = the_thread->API_Extensions[ THREAD_API_POSIX ]; 43 *policy = api->schedpolicy; 44 *param = api->schedparam; 45 param->sched_priority = 46 _POSIX_Priority_From_core( the_thread->current_priority ); 43 if ( policy ) 44 *policy = api->schedpolicy; 45 if ( param ) { 46 *param = api->schedparam; 47 param->sched_priority = 48 _POSIX_Priority_From_core( the_thread->current_priority ); 49 } 47 50 _Thread_Enable_dispatch(); 48 51 return 0;
Note: See TracChangeset
for help on using the changeset viewer.