/* * Verify creation of semaphores with unlimited attribute works. * * COPYRIGHT (c) 1989-2009. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be * found in the file LICENSE in this distribution or at * http://www.rtems.com/license/LICENSE. * * $Id$ */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include #include rtems_task Init(rtems_task_argument ignored); #define MAX 5000 rtems_id Semaphores[MAX]; rtems_task Init(rtems_task_argument ignored) { rtems_status_code sc; int i; int created; puts( "\n\n*** TEST 48 ***" ); printf( "Largest C program heap block available: %zu\n", malloc_free_space() ); for (i=0 ; i