diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-11-22 19:14:51 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-12-14 07:03:29 +0100 |
commit | 21275b58a5a69c3c838082ffc8a7a3641f32ea9a (patch) | |
tree | d331e17c15d71f107d0f14581a93ddf768b05813 /cpukit/include/rtems/posix/pthread.h | |
parent | rtems: Use object information to get config max (diff) | |
download | rtems-21275b58a5a69c3c838082ffc8a7a3641f32ea9a.tar.bz2 |
score: Static Objects_Information initialization
Statically allocate the objects information together with the initial
set of objects either via <rtems/confdefs.h>. Provide default object
informations with zero objects via librtemscpu.a. This greatly
simplifies the workspace size estimate. RTEMS applications which do not
use the unlimited objects option are easier to debug since all objects
reside now in statically allocated objects of the right types.
Close #3621.
Diffstat (limited to 'cpukit/include/rtems/posix/pthread.h')
-rw-r--r-- | cpukit/include/rtems/posix/pthread.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/cpukit/include/rtems/posix/pthread.h b/cpukit/include/rtems/posix/pthread.h index 25bf40ef27..9b59fd922d 100644 --- a/cpukit/include/rtems/posix/pthread.h +++ b/cpukit/include/rtems/posix/pthread.h @@ -38,8 +38,6 @@ extern "C" { extern const size_t _Configuration_POSIX_Minimum_stack_size; -extern const uint32_t _Configuration_POSIX_Maximum_threads; - /** * @brief POSIX threads initialize user threads body. * @@ -48,6 +46,12 @@ extern const uint32_t _Configuration_POSIX_Maximum_threads; */ extern void _POSIX_Threads_Initialize_user_threads_body(void); +/** + * The following defines the information control block used to manage + * this class of objects. + */ +extern Thread_Information _POSIX_Threads_Information; + /** @} */ #ifdef __cplusplus |