[PATCH] c-user: Clarify rtems_partition_delete()

Gedare Bloom gedare at rtems.org
Tue Dec 1 16:51:33 UTC 2020


ok

On Tue, Dec 1, 2020 at 8:50 AM Sebastian Huber <
sebastian.huber at embedded-brains.de> wrote:

> Move the PTCB sentence to the notes to be in line with
> rtems_partition_create().
>
> Update #3993.
> ---
>  c-user/partition/directives.rst | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/c-user/partition/directives.rst
> b/c-user/partition/directives.rst
> index 9579877..8bccb09 100644
> --- a/c-user/partition/directives.rst
> +++ b/c-user/partition/directives.rst
> @@ -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.
>
> --
> 2.26.2
>
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20201201/be723aa7/attachment.html>


More information about the devel mailing list