[rtems-docs commit] c-user: Clarify SMP's rtems_get_processor_count.

Chris Johns chrisj at rtems.org
Thu Sep 14 00:32:32 UTC 2017


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

Author:    Chris Johns <chrisj at rtems.org>
Date:      Thu Sep 14 10:32:28 2017 +1000

c-user: Clarify SMP's rtems_get_processor_count.

---

 c-user/symmetric_multiprocessing_services.rst | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/c-user/symmetric_multiprocessing_services.rst b/c-user/symmetric_multiprocessing_services.rst
index 16005f3..930be83 100644
--- a/c-user/symmetric_multiprocessing_services.rst
+++ b/c-user/symmetric_multiprocessing_services.rst
@@ -510,7 +510,10 @@ CALLING SEQUENCE:
         uint32_t rtems_get_processor_count(void);
 
 DIRECTIVE STATUS CODES:
-    The count of processors in the system.
+
+    The count of processors in the system that can be run. The value returned
+    is the highest numbered processor index of all processors available to the
+    application (if a scheduler is assigned) plus one.
 
 DESCRIPTION:
     In uni-processor configurations, a value of one will be returned.



More information about the vc mailing list