diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-05-03 07:38:19 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-05-04 07:24:30 +0200 |
commit | 1d40d81b4b8dd50e4162b0b79b60d3312d2744e5 (patch) | |
tree | 9c7dc074ea705a924742d965dcd22afef579cb5b /cpukit/rtems/include | |
parent | bsp/mvme5500: Use thread local variable (diff) | |
download | rtems-1d40d81b4b8dd50e4162b0b79b60d3312d2744e5.tar.bz2 |
rtems: Remove task variables
Update #2494.
Update #2555.
Diffstat (limited to 'cpukit/rtems/include')
-rw-r--r-- | cpukit/rtems/include/rtems/rtems/tasks.h | 46 | ||||
-rw-r--r-- | cpukit/rtems/include/rtems/rtems/tasksimpl.h | 15 |
2 files changed, 0 insertions, 61 deletions
diff --git a/cpukit/rtems/include/rtems/rtems/tasks.h b/cpukit/rtems/include/rtems/rtems/tasks.h index 11e2780b9e..5f33e0b04b 100644 --- a/cpukit/rtems/include/rtems/rtems/tasks.h +++ b/cpukit/rtems/include/rtems/rtems/tasks.h @@ -372,52 +372,6 @@ rtems_status_code rtems_task_is_suspended( rtems_id id ); -#if !defined(RTEMS_SMP) -/** - * @brief RTEMS Add Task Variable - * - * @deprecated Task variables are deprecated. - * - * This directive adds a per task variable. - * - * @note This service is not available in SMP configurations. - */ -rtems_status_code rtems_task_variable_add( - rtems_id tid, - void **ptr, - void (*dtor)(void *) -) RTEMS_DEPRECATED; - -/** - * @brief Get a per-task variable - * - * @deprecated Task variables are deprecated. - * - * This directive gets the value of a task variable. - * - * @note This service is not available in SMP configurations. - */ -rtems_status_code rtems_task_variable_get( - rtems_id tid, - void **ptr, - void **result -) RTEMS_DEPRECATED; - -/** - * @brief RTEMS Delete Task Variable - * - * @deprecated Task variables are deprecated. - * - * This directive removes a per task variable. - * - * @note This service is not available in SMP configurations. - */ -rtems_status_code rtems_task_variable_delete( - rtems_id tid, - void **ptr -) RTEMS_DEPRECATED; -#endif - #if defined(__RTEMS_HAVE_SYS_CPUSET_H__) /** * @brief Gets the processor affinity set of a task. diff --git a/cpukit/rtems/include/rtems/rtems/tasksimpl.h b/cpukit/rtems/include/rtems/rtems/tasksimpl.h index 3f8a87361b..82e8618b8c 100644 --- a/cpukit/rtems/include/rtems/rtems/tasksimpl.h +++ b/cpukit/rtems/include/rtems/rtems/tasksimpl.h @@ -47,21 +47,6 @@ extern Thread_Information _RTEMS_tasks_Information; */ void _RTEMS_tasks_Initialize_user_tasks( void ); -#if !defined(RTEMS_SMP) -/** - * @brief RTEMS Tasks Invoke Task Variable Destructor - * - * @deprecated Task variables are deprecated. - * - * This routine invokes the optional user provided destructor on the - * task variable and frees the memory for the task variable. - */ -void _RTEMS_Tasks_Invoke_task_variable_dtor( - Thread_Control *the_thread, - rtems_task_variable_t *tvp -) RTEMS_DEPRECATED; -#endif - RTEMS_INLINE_ROUTINE Thread_Control *_RTEMS_tasks_Allocate(void) { _Objects_Allocator_lock(); |