From bd9d5ebc33c35d91b5ca0746b6b78a365eeb726d Mon Sep 17 00:00:00 2001 From: Gedare Bloom Date: Fri, 31 Mar 2017 15:23:47 -0400 Subject: posix/shm: replace threadq with mutex (allocator lock) Closes #2957. --- cpukit/posix/include/rtems/posix/shmimpl.h | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'cpukit/posix/include') diff --git a/cpukit/posix/include/rtems/posix/shmimpl.h b/cpukit/posix/include/rtems/posix/shmimpl.h index ff3299ebe0..6d81e5eb27 100644 --- a/cpukit/posix/include/rtems/posix/shmimpl.h +++ b/cpukit/posix/include/rtems/posix/shmimpl.h @@ -33,25 +33,6 @@ extern "C" { extern Objects_Information _POSIX_Shm_Information; -RTEMS_INLINE_ROUTINE void _POSIX_Shm_Acquire( - POSIX_Shm_Control *the_shm, - Thread_queue_Context *queue_context -) -{ - _Thread_queue_Acquire( - &the_shm->Wait_queue, - queue_context - ); -} - -RTEMS_INLINE_ROUTINE void _POSIX_Shm_Release( - POSIX_Shm_Control *the_shm, - Thread_queue_Context *queue_context -) -{ - _Thread_queue_Release( &the_shm->Wait_queue, queue_context ); -} - RTEMS_INLINE_ROUTINE POSIX_Shm_Control *_POSIX_Shm_Allocate_unprotected( void ) { return (POSIX_Shm_Control *) -- cgit v1.2.3