/* * COPYRIGHT (c) 1989-2014. * 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.org/license/LICENSE. */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include #include "test_support.h" #include #include #include #include #include #include /* forward declarations to avoid warnings */ rtems_task Init(rtems_task_argument argument); void create_all_barriers(void); void create_all_semaphores(void); void delete_barrier(void); void delete_semaphore(void); void create_fifo(void); void open_fifo(int expected, int flags); #define MAXIMUM 10 #define NUM_OPEN_REQ 26 rtems_id Barriers[MAXIMUM]; int BarrierCount; rtems_id Semaphores[MAXIMUM]; int SemaphoreCount; void create_all_barriers(void) { rtems_status_code status; int i; BarrierCount = 0; memset( Barriers, 0, sizeof(Barriers) ); for ( i=0 ; i /* end of file */