Changeset 105d7872 in rtems for cpukit/score/inline


Ignore:
Timestamp:
Nov 18, 1999, 7:50:15 PM (21 years ago)
Author:
Jennifer Averett <Jennifer.Averett@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
23168f53
Parents:
17879f4
Message:

Added routine to remove an object from the namespace. It just clears
its name in the name_table. This was required by the POSIX semaphore
and message queue managers which support a concept of open, close, and
unlink. The object becomes "invisible" to further opens following an
unlink but all open sessions remain active until they are closed. This
requires that the removal of an object ID be separate from the removal
of its name.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/inline/rtems/score/object.inl

    r17879f4 r105d7872  
    270270}
    271271
     272/*PAGE
     273 *
     274 *  _Objects_Namespace_remove
     275 *
     276 *  DESCRIPTION:
     277 *
     278 *  This function removes the_object from the namespace.
     279 */
     280
     281RTEMS_INLINE_ROUTINE void _Objects_Namespace_remove(
     282  Objects_Information  *information,
     283  Objects_Control      *the_object
     284)
     285{
     286  _Objects_Clear_name( the_object->name, information->name_length );
     287}
     288
    272289#endif
    273290/* end of include file */
Note: See TracChangeset for help on using the changeset viewer.