Changeset 52eecba in rtems


Ignore:
Timestamp:
Feb 19, 2014, 4:36:01 PM (6 years ago)
Author:
Jennifer Averett <jennifer.averett@…>
Branches:
4.11, master
Children:
83bf105
Parents:
2cb0877
Message:

posix: Set pthread attribute values in detach and setschedparm methods.

Location:
cpukit/posix/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/posix/src/pthreaddetach.c

    r2cb0877 r52eecba  
    4343      api = the_thread->API_Extensions[ THREAD_API_POSIX ];
    4444      api->detachstate = PTHREAD_CREATE_DETACHED;
     45      api->Attributes.detachstate = PTHREAD_CREATE_DETACHED;
    4546      _Objects_Put( &the_thread->Object );
    4647      return 0;
  • cpukit/posix/src/pthreadsetschedparam.c

    r2cb0877 r52eecba  
    7474      api->schedpolicy = policy;
    7575      api->schedparam  = *param;
     76      api->Attributes.schedpolicy = policy;
     77      api->Attributes.schedparam  = *param;
     78
    7679      the_thread->budget_algorithm = budget_algorithm;
    7780      the_thread->budget_callout   = budget_callout;
Note: See TracChangeset for help on using the changeset viewer.