diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-03-18 08:28:14 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-03-19 08:34:26 +0100 |
commit | 51f823c9327e3e73fb75688aaeeefae35007f37c (patch) | |
tree | 40798813bed67cc4fe27f7e570834fea9aa76276 /testsuites/psxtests/psxconfig01/init.c | |
parent | score: Make _ISR_Enable_without_giant() available (diff) | |
download | rtems-51f823c9327e3e73fb75688aaeeefae35007f37c.tar.bz2 |
posix: Use interal mutex for once implementation
Enable pthread_once() for all configurations. The pthread_once()
function is one means to initialize POSIX keys. Another use case is the
C++ support.
Diffstat (limited to 'testsuites/psxtests/psxconfig01/init.c')
-rw-r--r-- | testsuites/psxtests/psxconfig01/init.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxconfig01/init.c b/testsuites/psxtests/psxconfig01/init.c index e0d1ffcd35..d9b08da12d 100644 --- a/testsuites/psxtests/psxconfig01/init.c +++ b/testsuites/psxtests/psxconfig01/init.c @@ -482,8 +482,7 @@ static rtems_task Init(rtems_task_argument argument) } rtems_resource_snapshot_take(&snapshot); rtems_test_assert( - snapshot.posix_api.active_mutexes == - (CONFIGURE_MAXIMUM_POSIX_MUTEXES + CONFIGURE_MAXIMUM_POSIX_INTERNAL_MUTEXES) + snapshot.posix_api.active_mutexes == CONFIGURE_MAXIMUM_POSIX_MUTEXES ); #endif |