From 55c6cb1daab39e4ac8e413b4d1156019c47fd7a7 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Thu, 22 Apr 2021 15:57:19 +0200 Subject: rtems: Clarify constraints in documentation --- cpukit/include/rtems/rtems/sem.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'cpukit/include/rtems/rtems/sem.h') 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( -- cgit v1.2.3