From bf3b9f45365f64762a4ac9362782fd5640a57854 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Wed, 10 Feb 2021 06:44:12 +0100 Subject: rtems: Clarify partition manager documentation Unify the wording across similar directives of other managers. Update #3993. --- cpukit/include/rtems/rtems/part.h | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) (limited to 'cpukit/include/rtems/rtems/part.h') diff --git a/cpukit/include/rtems/rtems/part.h b/cpukit/include/rtems/rtems/part.h index 337e28c18b..7a829d96af 100644 --- a/cpukit/include/rtems/rtems/part.h +++ b/cpukit/include/rtems/rtems/part.h @@ -112,9 +112,9 @@ extern "C" { * * @param attribute_set is the attribute set of the partition. * - * @param[out] id is the pointer to an object identifier variable. The - * identifier of the created partition will be stored in this variable, in - * case of a successful operation. + * @param[out] id is the pointer to an object identifier variable. When the + * directive call is successful, the identifier of the created partition will + * be stored in this variable. * * This directive creates a partition of fixed size buffers from a physically * contiguous memory space which starts at ``starting_address`` and is @@ -216,6 +216,9 @@ extern "C" { * * The directive may obtain and release the object allocator mutex. This may * cause the calling task to be preempted. * + * * When the directive operates on a global object, the directive sends a + * message to remote nodes. This may preempt the calling task. + * * * The number of partitions available to the application is configured * through the #CONFIGURE_MAXIMUM_PARTITIONS application configuration * option. @@ -249,9 +252,9 @@ rtems_status_code rtems_partition_create( * * @param node is the node or node set to search for a matching object. * - * @param[out] id is the pointer to an object identifier variable. The object - * identifier of an object with the specified name will be stored in this - * variable, in case of a successful operation. + * @param[out] id is the pointer to an object identifier variable. When the + * directive call is successful, the object identifier of an object with the + * specified name will be stored in this variable. * * This directive obtains a partition identifier associated with the partition * name specified in ``name``. @@ -364,6 +367,9 @@ rtems_status_code rtems_partition_ident( * * The directive may obtain and release the object allocator mutex. This may * cause the calling task to be preempted. * + * * When the directive operates on a global object, the directive sends a + * message to remote nodes. This may preempt the calling task. + * * * The calling task does not have to be the task that created the object. * Any local task that knows the object identifier can delete the object. * @@ -382,9 +388,9 @@ rtems_status_code rtems_partition_delete( rtems_id id ); * * @param id is the partition identifier. * - * @param[out] buffer is the pointer to a buffer pointer variable. The pointer - * to the allocated buffer will be stored in this variable, in case of a - * successful operation. + * @param[out] buffer is the pointer to a buffer pointer variable. When the + * directive call is successful, the pointer to the allocated buffer will be + * stored in this variable. * * This directive allows a buffer to be obtained from the partition specified * by ``id``. The address of the allocated buffer is returned through the -- cgit v1.2.3