[rtems commit] rtems: Clarify rtems_partition_delete()
Sebastian Huber
sebh at rtems.org
Wed Dec 2 07:20:40 UTC 2020
Module: rtems
Branch: master
Commit: 5a285e3844462117293c0055944a6d8189e01f46
Changeset: http://git.rtems.org/rtems/commit/?id=5a285e3844462117293c0055944a6d8189e01f46
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Tue Dec 1 16:51:40 2020 +0100
rtems: Clarify rtems_partition_delete()
Move the PTCB sentence to the notes to be in line with
rtems_partition_create().
Update #3993.
---
cpukit/include/rtems/rtems/part.h | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/cpukit/include/rtems/rtems/part.h b/cpukit/include/rtems/rtems/part.h
index db861a8..83c8e5a 100644
--- a/cpukit/include/rtems/rtems/part.h
+++ b/cpukit/include/rtems/rtems/part.h
@@ -271,12 +271,13 @@ rtems_status_code rtems_partition_ident(
* @brief Deletes the partition.
*
* This directive deletes the partition specified by the ``id`` parameter. The
- * partition cannot be deleted if any of its buffers are still allocated. The
- * PTCB for the deleted partition is reclaimed by RTEMS.
+ * partition cannot be deleted if any of its buffers are still allocated.
*
* This directive may cause the calling task to be preempted due to an obtain
* and release of the object allocator mutex.
*
+ * The PTCB for the deleted partition is reclaimed by RTEMS.
+ *
* The calling task does not have to be the task that created the partition.
* Any local task that knows the partition identifier can delete the partition.
*
More information about the vc
mailing list