summaryrefslogtreecommitdiffstats
path: root/cpukit/include/rtems/rtems/sem.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2021-04-22 15:57:19 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2021-04-28 07:37:56 +0200
commit55c6cb1daab39e4ac8e413b4d1156019c47fd7a7 (patch)
treec3f31f556084caa1863b7612f10894ce8de55ccf /cpukit/include/rtems/rtems/sem.h
parentpowerpc/shared/console: "termios" first open sets console baud to 9600 (diff)
downloadrtems-55c6cb1daab39e4ac8e413b4d1156019c47fd7a7.tar.bz2
rtems: Clarify constraints in documentation
Diffstat (limited to '')
-rw-r--r--cpukit/include/rtems/rtems/sem.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/cpukit/include/rtems/rtems/sem.h b/cpukit/include/rtems/rtems/sem.h
index 22f5b3f491..d079926720 100644
--- a/cpukit/include/rtems/rtems/sem.h
+++ b/cpukit/include/rtems/rtems/sem.h
@@ -615,7 +615,8 @@ rtems_status_code rtems_semaphore_obtain(
*
* * The directive may be called from within task context.
*
- * * The directive may unblock another task which may preempt the calling task.
+ * * The directive may unblock a task. This may cause the calling task to be
+ * preempted.
*
* * When the directive operates on a remote object, the directive sends a
* message to the remote node and waits for a reply. This will preempt the
@@ -711,7 +712,8 @@ rtems_status_code rtems_semaphore_release( rtems_id id );
*
* * The directive may be called from within task context.
*
- * * The directive may unblock another task which may preempt the calling task.
+ * * The directive may unblock a task. This may cause the calling task to be
+ * preempted.
*
* * When the directive operates on a remote object, the directive sends a
* message to the remote node and waits for a reply. This will preempt the
@@ -882,8 +884,8 @@ rtems_status_code rtems_semaphore_flush( rtems_id id );
*
* * The directive may be called from within task context.
*
- * * The directive may change the priority of another task which may preempt
- * the calling task.
+ * * The directive may change the priority of a task. This may cause the
+ * calling task to be preempted.
* @endparblock
*/
rtems_status_code rtems_semaphore_set_priority(