diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-03-12 08:31:35 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-03-16 12:48:37 +0100 |
commit | c9a41b0043e67ed7f1be98f19b5f5fda994ceb55 (patch) | |
tree | 20a3eca7fab35a9f4e802d3fe3c01a57c8ca13b1 /cpukit/include/rtems/score | |
parent | validation: Task create/construct (diff) | |
download | rtems-c9a41b0043e67ed7f1be98f19b5f5fda994ceb55.tar.bz2 |
score: Add Thread_Configuration::cpu_time_budget
Move the CPU time budget to the thread configuration. This simplifies
_Thread_Initialize().
Diffstat (limited to 'cpukit/include/rtems/score')
-rw-r--r-- | cpukit/include/rtems/score/threadimpl.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cpukit/include/rtems/score/threadimpl.h b/cpukit/include/rtems/score/threadimpl.h index 1e7d58609f..d9c0779b08 100644 --- a/cpukit/include/rtems/score/threadimpl.h +++ b/cpukit/include/rtems/score/threadimpl.h @@ -164,6 +164,11 @@ typedef struct { Thread_CPU_budget_algorithm_callout budget_callout; /** + * @brief The thread's initial CPU time budget. + */ + uint32_t cpu_time_budget; + + /** * @brief 32-bit unsigned integer name of the object for the thread. */ uint32_t name; |