summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2021-09-14 08:15:25 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2021-09-15 07:54:43 +0200
commit0bc62eee950008a2e3b4eb8c5a4f8f4cf39473e1 (patch)
treeda05d1170015eff1ae333f660c27890cbaaaa094
parentc-user: Add "Cache Manager" chapter (diff)
downloadrtems-docs-0bc62eee950008a2e3b4eb8c5a4f8f4cf39473e1.tar.bz2
c-user: Clarify rtems_extension_create()
-rw-r--r--c-user/user-extensions/directives.rst10
1 files changed, 7 insertions, 3 deletions
diff --git a/c-user/user-extensions/directives.rst b/c-user/user-extensions/directives.rst
index 2dbac54..ac04cdd 100644
--- a/c-user/user-extensions/directives.rst
+++ b/c-user/user-extensions/directives.rst
@@ -102,11 +102,15 @@ The extension set is initialized using the extension table specified in
.. rubric:: NOTES:
-The user-provided extension set table is not used after the return of the
+The user-provided extension table is not used after the return of the
directive.
-Newly created extension sets are immediately installed and are invoked upon the
-next system event supporting an extension.
+Each extension of the extension table is optional and may be `NULL
+<https://en.cppreference.com/w/c/types/NULL>`_. All extensions except the task
+switch extension of the extension table are atomically and immediately
+installed. A task switch extension is separately installed after the other
+extensions. The extensions of the extension table are invoked upon the next
+system event supporting an extension.
An alternative to dynamically created extension sets are initial extensions,
see :ref:`CONFIGURE_INITIAL_EXTENSIONS`. Initial extensions are recommended