SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause brief: | Gets the task identifier of the calling task. copyrights: - Copyright (C) 2021 embedded brains GmbH (http://www.embedded-brains.de) - Copyright (C) 1988, 2017 On-Line Applications Research Corporation (OAR) definition: default: attributes: null body: null params: [] return: ${../../type/if/id:/name} variants: [] description: | This directive returns the task identifier of the calling task. enabled-by: true index-entries: - obtain ID of caller interface-type: function links: - role: interface-placement uid: header - role: interface-ingroup uid: group - role: constraint uid: /constraint/directive-ctx-devinit - role: constraint uid: /constraint/directive-ctx-task - role: constraint uid: /constraint/directive-no-preempt name: rtems_task_self notes: null params: [] return: return: | Returns the task identifier of the calling task. return-values: [] type: interface