mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-21 00:05:39 +08:00
rtems: Clarify rtems_partition_delete()
Move the PTCB sentence to the notes to be in line with rtems_partition_create(). Update #3993.
This commit is contained in:
@@ -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.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user