diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-04-04 09:42:15 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-04-06 09:08:22 +0200 |
commit | 84f5c0a91be7b1ce9c4f1fb1f7afba680d5451aa (patch) | |
tree | 0a348e454beddcdbfeb88e19f523c82fa4c43d00 /cpukit/score/include/rtems/score/objectimpl.h | |
parent | score: Use red-black tree for active MP proxies (diff) | |
download | rtems-84f5c0a91be7b1ce9c4f1fb1f7afba680d5451aa.tar.bz2 |
score: Use red-black tree for active global objects
Use a red-black tree to lookup active global objects by identifier or
name.
Update #2555.
Diffstat (limited to 'cpukit/score/include/rtems/score/objectimpl.h')
-rw-r--r-- | cpukit/score/include/rtems/score/objectimpl.h | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/cpukit/score/include/rtems/score/objectimpl.h b/cpukit/score/include/rtems/score/objectimpl.h index 786910e2e6..aed7fafad2 100644 --- a/cpukit/score/include/rtems/score/objectimpl.h +++ b/cpukit/score/include/rtems/score/objectimpl.h @@ -172,8 +172,20 @@ typedef struct { #if defined(RTEMS_MULTIPROCESSING) /** This is this object class' method called when extracting a thread. */ Objects_Thread_queue_Extract_callout extract; - /** This is this object class' pointer to the global name table */ - Chain_Control *global_table; + + /** + * @brief The global objects of this object information sorted by object + * identifier. + */ + RBTree_Control Global_by_id; + + /** + * @brief The global objects of this object information sorted by object + * name. + * + * Objects with the same name are sorted according to their identifier. + */ + RBTree_Control Global_by_name; #endif } Objects_Information; |