[rtems-docs commit] Mention barrier manager in rtems_semaphore_flush()

Sebastian Huber sebh at rtems.org
Mon Nov 20 07:26:11 UTC 2017


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

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Mon Nov 20 08:25:26 2017 +0100

Mention barrier manager in rtems_semaphore_flush()

---

 c-user/barrier_manager.rst   | 2 ++
 c-user/semaphore_manager.rst | 4 ++++
 2 files changed, 6 insertions(+)

diff --git a/c-user/barrier_manager.rst b/c-user/barrier_manager.rst
index 8e49ef4..c312c76 100644
--- a/c-user/barrier_manager.rst
+++ b/c-user/barrier_manager.rst
@@ -6,6 +6,8 @@
 
 .. index:: barrier
 
+.. _barrier_manager:
+
 Barrier Manager
 ***************
 
diff --git a/c-user/semaphore_manager.rst b/c-user/semaphore_manager.rst
index f39f429..32c762e 100644
--- a/c-user/semaphore_manager.rst
+++ b/c-user/semaphore_manager.rst
@@ -804,6 +804,10 @@ NOTES:
           assert( sc == RTEMS_SUCCESSFUL );
         }
 
+    For barrier synchronization, the :ref:`barrier_manager` offers a cleaner
+    alternative to using the `rtems_semaphore_flush` directive.  Unlike POSIX
+    barriers, they have a manual release option.
+
 .. raw:: latex
 
    \clearpage



More information about the vc mailing list