summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/include/rtems
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2017-10-10 07:13:37 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2017-10-10 07:17:51 +0200
commit4f9ed26655c2659fcf697a281cb401aa919849bf (patch)
treeb73d6b1fae44a8101e0c46f88a8729c074d6d5f4 /cpukit/posix/include/rtems
parentposix: Simplify pthread_attr_setstack() (diff)
downloadrtems-4f9ed26655c2659fcf697a281cb401aa919849bf.tar.bz2
posix: Constify default thread processor affinity
Set default thread processor affinity to all processors of the pre-allocated set. This allows to constify the _POSIX_Threads_Default_attributes. Update #2514.
Diffstat (limited to 'cpukit/posix/include/rtems')
-rw-r--r--cpukit/posix/include/rtems/posix/pthreadimpl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/posix/include/rtems/posix/pthreadimpl.h b/cpukit/posix/include/rtems/posix/pthreadimpl.h
index 9e5314b2c2..6b338f9d5c 100644
--- a/cpukit/posix/include/rtems/posix/pthreadimpl.h
+++ b/cpukit/posix/include/rtems/posix/pthreadimpl.h
@@ -51,7 +51,7 @@ extern Thread_Information _POSIX_Threads_Information;
/**
* This variable contains the default POSIX Thread attributes.
*/
-extern pthread_attr_t _POSIX_Threads_Default_attributes;
+extern const pthread_attr_t _POSIX_Threads_Default_attributes;
RTEMS_INLINE_ROUTINE void _POSIX_Threads_Sporadic_timer_insert(
Thread_Control *the_thread,