diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-02-14 19:09:56 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-02-25 07:18:26 +0100 |
commit | ba74ebde7461b28bf0261523d4e91e7c0e17b622 (patch) | |
tree | 0929ec50a724db8418a8d1f1b6a5d8d4c847f1dd /testsuites/psxtests/psxconfig01 | |
parent | config: Add _SMP_Is_enabled (diff) | |
download | rtems-ba74ebde7461b28bf0261523d4e91e7c0e17b622.tar.bz2 |
libio: Add POSIX user environment pointer to TCB
The IO library used a POSIX key to store an optional POSIX user
environment pointer. This pulled in the POSIX keys support in every
application configuration. Add a user environment pointer to the thread
control block (TCB) instead. Applications which do not need the POSIX
user environment will just get an overhead of one pointer per thread.
Close #3882.
Diffstat (limited to 'testsuites/psxtests/psxconfig01')
-rw-r--r-- | testsuites/psxtests/psxconfig01/init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuites/psxtests/psxconfig01/init.c b/testsuites/psxtests/psxconfig01/init.c index c17c433ff1..2d0a0df497 100644 --- a/testsuites/psxtests/psxconfig01/init.c +++ b/testsuites/psxtests/psxconfig01/init.c @@ -301,7 +301,7 @@ static rtems_task Init(rtems_task_argument argument) rtems_test_assert(eno == EAGAIN); rtems_resource_snapshot_take(&snapshot); rtems_test_assert( - snapshot.active_posix_keys == _CONFIGURE_POSIX_KEYS + snapshot.active_posix_keys == CONFIGURE_MAXIMUM_POSIX_KEYS ); rtems_test_assert( snapshot.active_posix_key_value_pairs == CONFIGURE_MAXIMUM_POSIX_KEYS |