[rtems-docs commit] shell: Add CONFIGURE_MAXIMUM_POSIX_KEYS entry.

Chris Johns chrisj at rtems.org
Tue Jun 11 11:44:13 UTC 2019


Module:    rtems-docs
Branch:    master
Commit:    cf0c79ac22d86b4e45c872638e61d31457207e76
Changeset: http://git.rtems.org/rtems-docs/commit/?id=cf0c79ac22d86b4e45c872638e61d31457207e76

Author:    Chris Johns <chrisj at rtems.org>
Date:      Tue Jun 11 21:42:06 2019 +1000

shell: Add CONFIGURE_MAXIMUM_POSIX_KEYS entry.

---

 shell/configuration_and_init.rst | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/shell/configuration_and_init.rst b/shell/configuration_and_init.rst
index 55d37be..610ed2e 100644
--- a/shell/configuration_and_init.rst
+++ b/shell/configuration_and_init.rst
@@ -41,6 +41,15 @@ then the following is all that is required:
     #define CONFIGURE_SHELL_MOUNT_NFS
     #include <rtems/shellconfig.h>
 
+The shell uses a POSIX key to reference the shell's per thread environment. A
+user's application needs to account for this key. If the application has a
+configuration for POSIX keys add one extra for the shell. If there is no
+entry add to the configuration:
+
+.. code-block:: c
+
+    #define CONFIGURE_MAXIMUM_POSIX_KEYS (5)
+
 Customizing the Command Set
 ---------------------------
 



More information about the vc mailing list