blob: cb9daad928a481ed9e32d25aa180a7b0dd4983d1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
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
|