diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-09-26 07:49:17 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-10-05 14:29:02 +0200 |
commit | 5222488573e3ba8c2eceffe29f878a73a3a81694 (patch) | |
tree | 4b4ca72268b8f40da493ca252780c197bd23a5ef /testsuites/psxtests/psxconfig01 | |
parent | posix: Implement self-contained POSIX rwlocks (diff) | |
download | rtems-5222488573e3ba8c2eceffe29f878a73a3a81694.tar.bz2 |
posix: Implement self-contained POSIX condvar
POSIX condition variables are now available in all configurations and no
longer depend on --enable-posix.
Update #2514.
Update #3113.
Diffstat (limited to 'testsuites/psxtests/psxconfig01')
-rw-r--r-- | testsuites/psxtests/psxconfig01/init.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/testsuites/psxtests/psxconfig01/init.c b/testsuites/psxtests/psxconfig01/init.c index 154b4d1bd6..f62c2d5508 100644 --- a/testsuites/psxtests/psxconfig01/init.c +++ b/testsuites/psxtests/psxconfig01/init.c @@ -60,7 +60,6 @@ const char rtems_test_name[] = "PSXCONFIG 1"; #define CONFIGURE_MAXIMUM_TIMERS 59 #define CONFIGURE_MAXIMUM_USER_EXTENSIONS 17 -#define CONFIGURE_MAXIMUM_POSIX_CONDITION_VARIABLES 29 #define POSIX_MQ_COUNT 5 #define CONFIGURE_MAXIMUM_POSIX_MUTEXES 19 #define CONFIGURE_MAXIMUM_POSIX_QUEUED_SIGNALS 7 @@ -429,19 +428,6 @@ static rtems_task Init(rtems_task_argument argument) ); #endif -#ifdef CONFIGURE_MAXIMUM_POSIX_CONDITION_VARIABLES - for (i = 0; i < CONFIGURE_MAXIMUM_POSIX_CONDITION_VARIABLES; ++i) { - pthread_cond_t cond; - eno = pthread_cond_init(&cond, NULL); - rtems_test_assert(eno == 0); - } - rtems_resource_snapshot_take(&snapshot); - rtems_test_assert( - snapshot.posix_api.active_condition_variables - == CONFIGURE_MAXIMUM_POSIX_CONDITION_VARIABLES - ); -#endif - #ifdef POSIX_MQ_COUNT for (i = 0; i < POSIX_MQ_COUNT; ++i) { int oflag = O_RDWR | O_CREAT | O_EXCL; |