forked from Imagelibrary/rtems
Added a routine to remove a semaphore name from its namespace.
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user