diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1995-08-28 15:30:29 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1995-08-28 15:30:29 +0000 |
commit | 7f6a24abdd1793e394e4d5d49de1f4ca0e00297a (patch) | |
tree | fbdb1ec31289dabb5bf41ed769d4b40ca8cf9a9a /cpukit/score/inline/rtems/score/object.inl | |
parent | Moved _Thread_Information -> _RTEMS_tasks_Information. (diff) | |
download | rtems-7f6a24abdd1793e394e4d5d49de1f4ca0e00297a.tar.bz2 |
Added unused priority ceiling parameter to rtems_semaphore_create.
Rearranged code to created thread handler routines to initialize,
start, restart, and "close/delete" a thread.
Made internal threads their own object class. This now uses the
thread support routines for starting and initializing a thread.
Insured deleted tasks are freed to the Inactive pool associated with the
correct Information block.
Added an RTEMS API specific data area to the thread control block.
Beginnings of removing the word "rtems" from the core.
Diffstat (limited to 'cpukit/score/inline/rtems/score/object.inl')
-rw-r--r-- | cpukit/score/inline/rtems/score/object.inl | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/cpukit/score/inline/rtems/score/object.inl b/cpukit/score/inline/rtems/score/object.inl index 687ffd923b..b6ae73a351 100644 --- a/cpukit/score/inline/rtems/score/object.inl +++ b/cpukit/score/inline/rtems/score/object.inl @@ -76,6 +76,19 @@ STATIC INLINE unsigned32 rtems_get_index( /*PAGE * + * _Objects_Is_class_valid + * + */ + +STATIC INLINE boolean _Objects_Is_class_valid( + Objects_Classes the_class +) +{ + return the_class <= OBJECTS_CLASSES_LAST; +} + +/*PAGE + * * _Objects_Is_local_node * */ |