diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-09-21 15:42:45 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-10-05 14:29:02 +0200 |
commit | 89fc9345dea5c675f8d93546fa3c723918d3279a (patch) | |
tree | 89c32d64f375e1a9bf9d3725b1256aeb7ca46221 /testsuites/sptests/spsysinit01 | |
parent | posix: Implement self-contained POSIX barriers (diff) | |
download | rtems-89fc9345dea5c675f8d93546fa3c723918d3279a.tar.bz2 |
posix: Implement self-contained POSIX rwlocks
POSIX rwlocks are now available in all configurations and no longer
depend on --enable-posix.
Update #2514.
Update #3115.
Diffstat (limited to 'testsuites/sptests/spsysinit01')
-rw-r--r-- | testsuites/sptests/spsysinit01/init.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/testsuites/sptests/spsysinit01/init.c b/testsuites/sptests/spsysinit01/init.c index ff450b9ace..ab9e4a8e64 100644 --- a/testsuites/sptests/spsysinit01/init.c +++ b/testsuites/sptests/spsysinit01/init.c @@ -114,8 +114,6 @@ typedef enum { POSIX_SEMAPHORE_POST, POSIX_TIMER_PRE, POSIX_TIMER_POST, - POSIX_RWLOCK_PRE, - POSIX_RWLOCK_POST, POSIX_SHM_PRE, POSIX_SHM_POST, #endif /* RTEMS_POSIX_API */ @@ -503,18 +501,6 @@ LAST(RTEMS_SYSINIT_POSIX_TIMER) next_step(POSIX_TIMER_POST); } -FIRST(RTEMS_SYSINIT_POSIX_RWLOCK) -{ - assert(_POSIX_RWLock_Information.maximum == 0); - next_step(POSIX_RWLOCK_PRE); -} - -LAST(RTEMS_SYSINIT_POSIX_RWLOCK) -{ - assert(_POSIX_RWLock_Information.maximum != 0); - next_step(POSIX_RWLOCK_POST); -} - FIRST(RTEMS_SYSINIT_POSIX_SHM) { assert(_POSIX_Shm_Information.maximum == 0); @@ -749,8 +735,6 @@ static void *POSIX_Init(void *arg) #define CONFIGURE_MAXIMUM_POSIX_CONDITION_VARIABLES 1 -#define CONFIGURE_MAXIMUM_POSIX_RWLOCKS 1 - #define CONFIGURE_MAXIMUM_POSIX_SEMAPHORES 1 #define CONFIGURE_MAXIMUM_POSIX_SHMS 1 |