From 51f823c9327e3e73fb75688aaeeefae35007f37c Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 18 Mar 2014 08:28:14 +0100 Subject: 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. --- testsuites/psxtests/psxconfig01/init.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'testsuites/psxtests/psxconfig01/init.c') 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 -- cgit v1.2.3