diff options
author | Jennifer Averett <jennifer.averett@oarcorp.com> | 2014-02-19 10:36:01 -0600 |
---|---|---|
committer | Jennifer Averett <jennifer.averett@oarcorp.com> | 2014-02-19 10:36:01 -0600 |
commit | 52eecbaa089523a4afaef1024225c7bf5181495e (patch) | |
tree | f71b2ceb120cf8019696b9f0dd84a32f1bd42d3a /cpukit/posix/src/pthreadsetschedparam.c | |
parent | bsp/leon3: Add and use LEON3_IrqCtrl_Lock (diff) | |
download | rtems-52eecbaa089523a4afaef1024225c7bf5181495e.tar.bz2 |
posix: Set pthread attribute values in detach and setschedparm methods.
Diffstat (limited to 'cpukit/posix/src/pthreadsetschedparam.c')
-rw-r--r-- | cpukit/posix/src/pthreadsetschedparam.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cpukit/posix/src/pthreadsetschedparam.c b/cpukit/posix/src/pthreadsetschedparam.c index 2759609574..da948efeeb 100644 --- a/cpukit/posix/src/pthreadsetschedparam.c +++ b/cpukit/posix/src/pthreadsetschedparam.c @@ -73,6 +73,9 @@ int pthread_setschedparam( api->schedpolicy = policy; api->schedparam = *param; + api->Attributes.schedpolicy = policy; + api->Attributes.schedparam = *param; + the_thread->budget_algorithm = budget_algorithm; the_thread->budget_callout = budget_callout; |