diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-09-21 14:13:16 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-10-05 14:29:01 +0200 |
commit | e67929c4c0025ef46053523be4c8736dd178cbec (patch) | |
tree | 09fca2c6ff8369031b9e76d97872da12236e155a /testsuites/sptests/spsysinit01/init.c | |
parent | posix: Implement self-contained POSIX semaphores (diff) | |
download | rtems-e67929c4c0025ef46053523be4c8736dd178cbec.tar.bz2 |
posix: Implement self-contained POSIX barriers
POSIX barriers are now available in all configurations and no longer
depend on --enable-posix.
Update #2514.
Update #3114.
Diffstat (limited to '')
-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 612ba145a2..ff450b9ace 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_BARRIER_PRE, - POSIX_BARRIER_POST, POSIX_RWLOCK_PRE, POSIX_RWLOCK_POST, POSIX_SHM_PRE, @@ -505,18 +503,6 @@ LAST(RTEMS_SYSINIT_POSIX_TIMER) next_step(POSIX_TIMER_POST); } -FIRST(RTEMS_SYSINIT_POSIX_BARRIER) -{ - assert(_POSIX_Barrier_Information.maximum == 0); - next_step(POSIX_BARRIER_PRE); -} - -LAST(RTEMS_SYSINIT_POSIX_BARRIER) -{ - assert(_POSIX_Barrier_Information.maximum != 0); - next_step(POSIX_BARRIER_POST); -} - FIRST(RTEMS_SYSINIT_POSIX_RWLOCK) { assert(_POSIX_RWLock_Information.maximum == 0); @@ -757,8 +743,6 @@ static void *POSIX_Init(void *arg) #ifdef RTEMS_POSIX_API -#define CONFIGURE_MAXIMUM_POSIX_BARRIERS 1 - #define CONFIGURE_MAXIMUM_POSIX_MESSAGE_QUEUES 1 #define CONFIGURE_MAXIMUM_POSIX_MUTEXES 1 |