summaryrefslogtreecommitdiffstats
path: root/spec/rtems/userext/if/task-delete.yml
blob: 24822625082d240370628548a61b5b92787b035c (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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
brief: |
  Task delete extensions are invoked when a task is deleted.
copyrights:
- Copyright (C) 2009, 2021 embedded brains GmbH (http://www.embedded-brains.de)
definition:
  default: ${/score/userext/if/thread-delete:/name} ${.:/name}
  variants: []
description: null
enabled-by: true
index-entries: []
interface-type: typedef
links:
- role: interface-placement
  uid: header
- role: interface-ingroup
  uid: group
- role: constraint
  uid: /constraint/thread-dispatching-disabled-init
- role: constraint
  uid: /constraint/thread-dispatching-enabled-multitasking
- role: constraint
  uid: ../constraint/object-allocator-system
- role: constraint
  uid: ../constraint/object-allocator-task-create
- role: constraint
  uid: ../constraint/object-allocator-task-construct
- role: constraint
  uid: ../constraint/object-allocator-pthread-create
name: rtems_task_delete_extension
notes: |
  The task delete extensions are invoked in
  ${/glossary/extension-reverse-order:/term}.

  The task delete extensions are invoked by task create directives before an
  attempt to allocate a ${/glossary/tcb:/term} is made.

  If a task create extension failed, then a task delete extension may be
  invoked without a previous invocation of the corresponding task create
  extension of the extension set.
params:
- description: |
    is the ${/glossary/tcb:/term} of the executing thread.  If the idle thread
    is created and one of the initial task create extension fails, then the
    executing thread is equal to ${/c/if/null:/name}.
  dir: null
  name: executing
- description: |
    is the ${/glossary/tcb:/term} of the deleted thread.  The executing and
    deleted arguments are never equal.
  dir: null
  name: created
return: null
type: interface