Changeset 5250ff39 in rtems for cpukit/score/src/object.c


Ignore:
Timestamp:
Aug 23, 1995, 9:06:31 PM (26 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
7f6a24ab
Parents:
3235ad9
Message:

Moved _Thread_Information -> _RTEMS_tasks_Information.

Added a table of object information control blocks.

Modified _Thread_Get so it looks up a thread regardless of which
thread management "entity" (manager, internal, etc) actually "owns" it.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/src/object.c

    r3235ad9 r5250ff39  
    6969  unsigned32           size,
    7070  boolean              is_string,
    71   unsigned32           maximum_name_length
     71  unsigned32           maximum_name_length,
     72  boolean              is_thread
    7273)
    7374{
     
    8182  information->the_class = the_class;
    8283  information->is_string = is_string;
     84  information->is_thread = is_thread;
     85
     86  /*
     87   *  Set the entry in the object information table.
     88   */
     89
     90  _Objects_Information_table[ the_class ] = information;
    8391
    8492  /*
     
    380388Objects_Control *_Objects_Get(
    381389  Objects_Information *information,
    382   Objects_Id                  id,
    383   Objects_Locations          *location
     390  Objects_Id           id,
     391  Objects_Locations   *location
    384392)
    385393{
Note: See TracChangeset for help on using the changeset viewer.