diff options
Diffstat (limited to 'cpukit/score/include/rtems/score/thread.h')
-rw-r--r-- | cpukit/score/include/rtems/score/thread.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/cpukit/score/include/rtems/score/thread.h b/cpukit/score/include/rtems/score/thread.h index 7229113a22..6ac4eccfbc 100644 --- a/cpukit/score/include/rtems/score/thread.h +++ b/cpukit/score/include/rtems/score/thread.h @@ -28,6 +28,7 @@ #include <rtems/score/object.h> #include <rtems/score/percpu.h> #include <rtems/score/priority.h> +#include <rtems/score/resource.h> #include <rtems/score/stack.h> #include <rtems/score/states.h> #include <rtems/score/threadq.h> @@ -472,6 +473,13 @@ struct Thread_Control_struct { */ Chain_Control lock_mutex; #endif +#if defined(RTEMS_SMP) + /** + * @brief Resource node to build a dependency tree in case this thread owns + * resources or depends on a resource. + */ + Resource_Node Resource_node; +#endif /*================= end of common block =================*/ #if defined(RTEMS_MULTIPROCESSING) /** This field is true if the thread is offered globally */ |