source: rtems-central/spec/rtems/userext/if/task-terminate.yml

Last change on this file was 94d88e4, checked in by Sebastian Huber <sebastian.huber@…>, on Sep 9, 2021 at 1:29:54 PM

spec: Document the user extension manager

  • Property mode set to 100644
File size: 1.3 KB
Line 
1SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
2brief: |
3  Task terminate extensions are invoked when a task terminates.
4copyrights:
5- Copyright (C) 2009, 2021 embedded brains GmbH (http://www.embedded-brains.de)
6definition:
7  default: ${/score/userext/if/thread-terminate:/name} ${.:/name}
8  variants: []
9description: null
10enabled-by: true
11index-entries: []
12interface-type: typedef
13links:
14- role: interface-placement
15  uid: header
16- role: interface-ingroup
17  uid: group
18- role: constraint
19  uid: /constraint/thread-dispatching-enabled
20- role: constraint
21  uid: /constraint/thread-life-protected
22- role: constraint
23  uid: /constraint/object-allocator-not-owner
24name: rtems_task_terminate_extension
25notes: |
26  The task terminate extensions are invoked in
27  ${/glossary/extension-reverse-order:/term}.
28
29  The task terminate extensions are invoked in the context of the terminating
30  thread right before the thread dispatch to the heir thread should take place.
31  The thread stack reflects the previous execution context.  The POSIX cleanup
32  and key destructors execute in this context.
33
34  Thread restart and delete requests issued by terminate extensions lead to
35  recursion.
36params:
37- description: |
38    is the ${/glossary/tcb:/term} of the executing thread.  This is the
39    terminating thread.
40  dir: null
41  name: executing
42return: null
43type: interface
Note: See TracBrowser for help on using the repository browser.