summaryrefslogtreecommitdiffstats
path: root/cpukit/include/rtems/score/threadimpl.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2021-02-21 10:47:36 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2021-02-24 09:22:36 +0100
commit0b263b0eb7dd05efe44359b9d8172926856badc7 (patch)
tree0fcb6c0924561f08c7854a5fbecc51f79bfca22a /cpukit/include/rtems/score/threadimpl.h
parentbuild: Fix format in wscript (diff)
downloadrtems-0b263b0eb7dd05efe44359b9d8172926856badc7.tar.bz2
score: Remove _Objects_Open()
Use the type safe _Objects_Open_u32() instead. Return the object identifier to enforce a common usage pattern.
Diffstat (limited to 'cpukit/include/rtems/score/threadimpl.h')
-rw-r--r--cpukit/include/rtems/score/threadimpl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/include/rtems/score/threadimpl.h b/cpukit/include/rtems/score/threadimpl.h
index e9d44526da..0c7df47f36 100644
--- a/cpukit/include/rtems/score/threadimpl.h
+++ b/cpukit/include/rtems/score/threadimpl.h
@@ -164,9 +164,9 @@ typedef struct {
Thread_CPU_budget_algorithm_callout budget_callout;
/**
- * @brief Name of the object for the thread.
+ * @brief 32-bit unsigned integer name of the object for the thread.
*/
- Objects_Name name;
+ uint32_t name;
/**
* @brief The thread's initial ISR level.