mirror of
https://git.rtems.org/rtems-docs/
synced 2025-05-17 04:41:58 +08:00
c-user: 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:
parent
29e6caa311
commit
346bbe698d
@ -292,8 +292,7 @@ Deletes the partition.
|
||||
.. rubric:: DESCRIPTION:
|
||||
|
||||
This directive deletes the partition specified by the ``id`` parameter. The
|
||||
partition cannot be deleted if any of its buffers are still allocated. The
|
||||
:term:`PTCB` for the deleted partition is reclaimed by RTEMS.
|
||||
partition cannot be deleted if any of its buffers are still allocated.
|
||||
|
||||
.. rubric:: RETURN VALUES:
|
||||
|
||||
@ -314,6 +313,8 @@ partition cannot be deleted if any of its buffers are still allocated. The
|
||||
This directive may cause the calling task to be preempted due to an obtain and
|
||||
release of the object allocator mutex.
|
||||
|
||||
The :term:`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.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user