Changeset 51e008dd in rtems
- Timestamp:
- Jun 23, 2016, 9:49:22 AM (3 years ago)
- Branches:
- master
- Children:
- a4a307d
- Parents:
- b364d38
- git-author:
- Sebastian Huber <sebastian.huber@…> (06/23/16 09:49:22)
- git-committer:
- Sebastian Huber <sebastian.huber@…> (06/24/16 08:28:02)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpukit/posix/src/pthreadcreate.c
rb364d38 r51e008dd 28 28 #include <rtems/posix/priorityimpl.h> 29 29 #include <rtems/posix/pthreadimpl.h> 30 #include <rtems/score/assert.h> 30 31 #include <rtems/score/cpusetimpl.h> 31 32 #include <rtems/score/threadimpl.h> … … 104 105 105 106 executing = _Thread_Get_executing(); 106 scheduler = _Scheduler_Get_own( executing );107 107 108 108 /* … … 116 116 switch ( the_attr->inheritsched ) { 117 117 case PTHREAD_INHERIT_SCHED: 118 api = executing->API_Extensions[ THREAD_API_POSIX ]; 119 schedpolicy = api->Attributes.schedpolicy; 120 schedparam = api->Attributes.schedparam; 118 error = pthread_getschedparam( 119 pthread_self(), 120 &schedpolicy, 121 &schedparam 122 ); 123 _Assert( error == 0 ); 121 124 break; 122 125
Note: See TracChangeset
for help on using the changeset viewer.