diff options
author | Gedare Bloom <gedare@rtems.org> | 2015-03-10 15:28:19 -0400 |
---|---|---|
committer | Gedare Bloom <gedare@rtems.org> | 2015-03-10 15:46:59 -0400 |
commit | cf4045630e1dd59221c67005ca1652b4350ad8eb (patch) | |
tree | c9c6e3336d043821b6bbda26b3851172a72fcf89 /cpukit/rtems/include/rtems/rtems/tasks.h | |
parent | cpukit: deprecate rtems_clock_get(). closes #2294. (diff) | |
download | rtems-cf4045630e1dd59221c67005ca1652b4350ad8eb.tar.bz2 |
cpukit: deprecate task variables. closes #2293.
Diffstat (limited to '')
-rw-r--r-- | cpukit/rtems/include/rtems/rtems/tasks.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/cpukit/rtems/include/rtems/rtems/tasks.h b/cpukit/rtems/include/rtems/rtems/tasks.h index 237ec19093..dc12d0bdeb 100644 --- a/cpukit/rtems/include/rtems/rtems/tasks.h +++ b/cpukit/rtems/include/rtems/rtems/tasks.h @@ -462,6 +462,8 @@ rtems_status_code rtems_task_is_suspended( /** * @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. @@ -470,11 +472,13 @@ rtems_status_code rtems_task_variable_add( rtems_id tid, void **ptr, void (*dtor)(void *) -); +) RTEMS_COMPILER_DEPRECATED_ATTRIBUTE; /** * @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. @@ -483,11 +487,13 @@ rtems_status_code rtems_task_variable_get( rtems_id tid, void **ptr, void **result -); +) RTEMS_COMPILER_DEPRECATED_ATTRIBUTE; /** * @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. @@ -495,7 +501,7 @@ rtems_status_code rtems_task_variable_get( rtems_status_code rtems_task_variable_delete( rtems_id tid, void **ptr -); +) RTEMS_COMPILER_DEPRECATED_ATTRIBUTE; #endif #if defined(__RTEMS_HAVE_SYS_CPUSET_H__) |