summaryrefslogtreecommitdiff
path: root/cpukit/include/rtems/score/thread.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/include/rtems/score/thread.h')
-rw-r--r--cpukit/include/rtems/score/thread.h21
1 files changed, 12 insertions, 9 deletions
diff --git a/cpukit/include/rtems/score/thread.h b/cpukit/include/rtems/score/thread.h
index 2e7380f99a..1388744548 100644
--- a/cpukit/include/rtems/score/thread.h
+++ b/cpukit/include/rtems/score/thread.h
@@ -89,12 +89,6 @@ extern "C" {
#define RTEMS_SCORE_THREAD_ENABLE_RESOURCE_COUNT
#endif
-/*
- * Only provided for backward compatiblity to not break application
- * configurations.
- */
-typedef void *Thread RTEMS_DEPRECATED;
-
/**
* @brief Type of the numeric argument of a thread entry function with at
* least one numeric argument.
@@ -200,10 +194,9 @@ typedef struct {
/** This field is the initial priority. */
Priority_Control initial_priority;
/**
- * @brief This field is a pointer to the allocated stack area, otherwise it
- * is NULL.
+ * @brief This field points to the handler which should free the stack.
*/
- void *allocated_stack;
+ void ( *stack_free )( void * );
/** This field is the stack information. */
Stack_Control Initial_stack;
#if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )
@@ -961,6 +954,16 @@ extern const size_t _Thread_Initial_thread_count;
extern const size_t _Thread_Maximum_name_size;
/**
+ * @brief If this constant is greater than zero, then it defines the maximum
+ * thread-local storage size, otherwise the thread-local storage size is defined
+ * by the linker depending on the thread-local storage objects used by the
+ * application in the statically-linked executable.
+ *
+ * This value is provided via <rtems/confdefs.h>.
+ */
+extern const size_t _Thread_Maximum_TLS_size;
+
+/**
* @brief The configured thread control block.
*
* This type is defined in <rtems/confdefs.h> and depends on the application