Added a routine to remove a semaphore name from its namespace.

This commit is contained in:
Jennifer Averett
1999-11-18 19:41:34 +00:00
parent f811c8e2a2
commit c9ae846b0e
2 changed files with 30 additions and 0 deletions

View File

@@ -39,6 +39,21 @@ RTEMS_INLINE_ROUTINE void _POSIX_Semaphore_Free (
_Objects_Free( &_POSIX_Semaphore_Information, &the_semaphore->Object ); _Objects_Free( &_POSIX_Semaphore_Information, &the_semaphore->Object );
} }
/*PAGE
*
* _POSIX_Semaphore_Namespace_remove
*/
RTEMS_INLINE_ROUTINE void _POSIX_Semaphore_Namespace_remove (
POSIX_Semaphore_Control *the_semaphore
)
{
_Objects_Namespace_remove(
&_POSIX_Semaphore_Information, &the_semaphore->Object );
}
/*PAGE /*PAGE
* *
* _POSIX_Semaphore_Get * _POSIX_Semaphore_Get

View File

@@ -39,6 +39,21 @@ RTEMS_INLINE_ROUTINE void _POSIX_Semaphore_Free (
_Objects_Free( &_POSIX_Semaphore_Information, &the_semaphore->Object ); _Objects_Free( &_POSIX_Semaphore_Information, &the_semaphore->Object );
} }
/*PAGE
*
* _POSIX_Semaphore_Namespace_remove
*/
RTEMS_INLINE_ROUTINE void _POSIX_Semaphore_Namespace_remove (
POSIX_Semaphore_Control *the_semaphore
)
{
_Objects_Namespace_remove(
&_POSIX_Semaphore_Information, &the_semaphore->Object );
}
/*PAGE /*PAGE
* *
* _POSIX_Semaphore_Get * _POSIX_Semaphore_Get