diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-12-14 11:47:47 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-02-03 10:00:54 +0100 |
commit | cef56750eb5ce8a2aa31ff4e3bc038bc656a0d96 (patch) | |
tree | 7623daadd38c0aa9bd84dd314f1b4e2113f8a247 /cpukit/score/include/rtems/score/thread.h | |
parent | Optional POSIX Threads initialization (diff) | |
download | rtems-cef56750eb5ce8a2aa31ff4e3bc038bc656a0d96.tar.bz2 |
Optional POSIX Cleanup initialization
Update #2408.
Diffstat (limited to '')
-rw-r--r-- | cpukit/score/include/rtems/score/thread.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/cpukit/score/include/rtems/score/thread.h b/cpukit/score/include/rtems/score/thread.h index f4d76d8725..69caef1095 100644 --- a/cpukit/score/include/rtems/score/thread.h +++ b/cpukit/score/include/rtems/score/thread.h @@ -39,6 +39,8 @@ #include <rtems/score/cpuset.h> #endif +struct _pthread_cleanup_context; + struct Per_CPU_Control; struct Scheduler_Control; @@ -851,6 +853,11 @@ struct _Thread_Control { Thread_Capture_control Capture; /** + * @brief LIFO list of POSIX cleanup contexts. + */ + struct _pthread_cleanup_context *last_cleanup_context; + + /** * @brief Variable length array of user extension pointers. * * The length is defined by the application via <rtems/confdefs.h>. |