diff options
Diffstat (limited to 'cpukit/posix/include/rtems/posix/semaphoreimpl.h')
-rw-r--r-- | cpukit/posix/include/rtems/posix/semaphoreimpl.h | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/cpukit/posix/include/rtems/posix/semaphoreimpl.h b/cpukit/posix/include/rtems/posix/semaphoreimpl.h index 7754ee9ad7..df5e5238de 100644 --- a/cpukit/posix/include/rtems/posix/semaphoreimpl.h +++ b/cpukit/posix/include/rtems/posix/semaphoreimpl.h @@ -48,20 +48,13 @@ extern const int */ void _POSIX_Semaphore_Manager_initialization(void); -/** - * @brief POSIX Semaphore Allocate - * - * This function allocates a semaphore control block from - * the inactive chain of free semaphore control blocks. - */ - -RTEMS_INLINE_ROUTINE POSIX_Semaphore_Control *_POSIX_Semaphore_Allocate( void ) +RTEMS_INLINE_ROUTINE POSIX_Semaphore_Control * + _POSIX_Semaphore_Allocate_unprotected( void ) { return (POSIX_Semaphore_Control *) - _Objects_Allocate( &_POSIX_Semaphore_Information ); + _Objects_Allocate_unprotected( &_POSIX_Semaphore_Information ); } - /** * @brief POSIX Semaphore Free * |