Changeset 991a3cc1 in rtems
- Timestamp:
- 05/11/12 14:15:40 (11 years ago)
- Branches:
- 4.11, 5, master
- Children:
- a03d4453
- Parents:
- 65c6425
- Location:
- testsuites/psxtmtests
- Files:
-
- 31 edited
Legend:
- Unmodified
- Added
- Removed
-
testsuites/psxtmtests/psxtmbarrier01/init.c
r65c6425 r991a3cc1 1 1 /* 2 * COPYRIGHT (c) 1989-201 1.2 * COPYRIGHT (c) 1989-2012. 3 3 * On-Line Applications Research Corporation (OAR). 4 4 * … … 16 16 #include "test_support.h" 17 17 #include <pthread.h> 18 19 /* forward declarations to avoid warnings */ 20 void *POSIX_Init(void *argument); 21 static void benchmark_pthread_barrier_init(void); 18 22 19 23 pthread_barrier_t barrier; -
testsuites/psxtmtests/psxtmbarrier02/init.c
r65c6425 r991a3cc1 1 1 /* 2 * COPYRIGHT (c) 1989-201 1.2 * COPYRIGHT (c) 1989-2012. 3 3 * On-Line Applications Research Corporation (OAR). 4 4 * … … 19 19 #include <pthread.h> 20 20 #include <sched.h> 21 22 /* forward declarations to avoid warnings */ 23 void *POSIX_Init(void *argument); 24 void *Middle(void *argument); 25 void *Low(void *argument); 21 26 22 27 pthread_barrier_t barrier; -
testsuites/psxtmtests/psxtmbarrier03/init.c
r65c6425 r991a3cc1 1 1 /* 2 * COPYRIGHT (c) 1989-201 1.2 * COPYRIGHT (c) 1989-2012. 3 3 * On-Line Applications Research Corporation (OAR). 4 4 * … … 19 19 #include <sched.h> 20 20 #include <rtems/timerdrv.h> 21 22 /* forward declarations to avoid warnings */ 23 void *POSIX_Init(void *argument); 24 void *Blocker(void *argument); 21 25 22 26 #define N 2 -
testsuites/psxtmtests/psxtmkey01/init.c
r65c6425 r991a3cc1 1 1 /* 2 * COPYRIGHT (c) 1989-201 1.2 * COPYRIGHT (c) 1989-2012. 3 3 * On-Line Applications Research Corporation (OAR). 4 4 * … … 17 17 #include <pthread.h> 18 18 #include "test_support.h" 19 20 /* forward declarations to avoid warnings */ 21 void *POSIX_Init(void *argument); 19 22 20 23 pthread_key_t Key; -
testsuites/psxtmtests/psxtmkey02/init.c
r65c6425 r991a3cc1 1 1 /* 2 * COPYRIGHT (c) 1989-201 1.2 * COPYRIGHT (c) 1989-2012. 3 3 * On-Line Applications Research Corporation (OAR). 4 4 * … … 17 17 #include <pthread.h> 18 18 #include "test_support.h" 19 20 /* forward declarations to avoid warnings */ 21 void *POSIX_Init(void *argument); 22 void benchmark_pthread_setspecific(void *value_p); 23 void benchmark_pthread_getspecific( void *expected ); 19 24 20 25 pthread_key_t Key; -
testsuites/psxtmtests/psxtmmq01/init.c
r65c6425 r991a3cc1 1 1 /* 2 * COPYRIGHT (c) 1989-201 1.2 * COPYRIGHT (c) 1989-2012. 3 3 * On-Line Applications Research Corporation (OAR). 4 4 * … … 19 19 #include <mqueue.h> 20 20 #include <signal.h> /* signal facilities */ 21 22 /* forward declarations to avoid warnings */ 23 void *POSIX_Init(void *argument); 21 24 22 25 #define MQ_MAXMSG 1 -
testsuites/psxtmtests/psxtmmutex01/init.c
r65c6425 r991a3cc1 1 1 /* 2 * COPYRIGHT (c) 1989-201 1.2 * COPYRIGHT (c) 1989-2012. 3 3 * On-Line Applications Research Corporation (OAR). 4 4 * … … 17 17 #include <pthread.h> 18 18 #include "test_support.h" 19 20 /* forward declarations to avoid warnings */ 21 void *POSIX_Init(void *argument); 19 22 20 23 pthread_mutex_t MutexId; -
testsuites/psxtmtests/psxtmmutex02/init.c
r65c6425 r991a3cc1 1 1 /* 2 * COPYRIGHT (c) 1989-201 0.2 * COPYRIGHT (c) 1989-2012. 3 3 * On-Line Applications Research Corporation (OAR). 4 4 * … … 19 19 #include <sched.h> 20 20 #include <rtems/timerdrv.h> 21 22 /* forward declarations to avoid warnings */ 23 void *POSIX_Init(void *argument); 24 void *Middle(void *argument); 25 void *Low(void *argument); 21 26 22 27 pthread_mutex_t MutexId; -
testsuites/psxtmtests/psxtmmutex03/init.c
r65c6425 r991a3cc1 1 1 /* 2 * COPYRIGHT (c) 1989-201 1.2 * COPYRIGHT (c) 1989-2012. 3 3 * On-Line Applications Research Corporation (OAR). 4 4 * … … 17 17 #include <pthread.h> 18 18 #include "test_support.h" 19 20 /* forward declarations to avoid warnings */ 21 void *POSIX_Init(void *argument); 22 void benchmark_mutex_lock_available(void); 23 void benchmark_mutex_unlock_no_threads_waiting(void); 24 void benchmark_mutex_trylock_available(void); 25 void benchmark_mutex_trylock_not_available(void); 26 void benchmark_mutex_timedlock_available(void); 19 27 20 28 pthread_mutex_t MutexId; … … 76 84 ); 77 85 } 78 79 86 80 87 void benchmark_mutex_trylock_not_available(void) -
testsuites/psxtmtests/psxtmmutex04/init.c
r65c6425 r991a3cc1 1 1 /* 2 * COPYRIGHT (c) 1989-201 1.2 * COPYRIGHT (c) 1989-2012. 3 3 * On-Line Applications Research Corporation (OAR). 4 4 * … … 19 19 #include <pthread.h> 20 20 #include <sched.h> 21 22 /* forward declarations to avoid warnings */ 23 void *POSIX_Init(void *argument); 24 void *Middle(void *argument); 25 void *Low(void *argument); 21 26 22 27 pthread_mutex_t MutexId; -
testsuites/psxtmtests/psxtmmutex05/init.c
r65c6425 r991a3cc1 1 1 /* 2 * COPYRIGHT (c) 1989-201 1.2 * COPYRIGHT (c) 1989-2012. 3 3 * On-Line Applications Research Corporation (OAR). 4 4 * … … 19 19 #include <sched.h> 20 20 #include <rtems/timerdrv.h> 21 22 /* forward declarations to avoid warnings */ 23 void *POSIX_Init(void *argument); 24 void *Blocker(void *argument); 21 25 22 26 pthread_mutex_t MutexId; -
testsuites/psxtmtests/psxtmmutex06/init.c
r65c6425 r991a3cc1 1 1 /* 2 * COPYRIGHT (c) 1989-201 1.2 * COPYRIGHT (c) 1989-2012. 3 3 * On-Line Applications Research Corporation (OAR). 4 4 * … … 19 19 #include <sched.h> 20 20 #include <rtems/timerdrv.h> 21 22 /* forward declarations to avoid warnings */ 23 void *POSIX_Init(void *argument); 24 void *Middle(void *argument); 25 void *Low(void *argument); 21 26 22 27 pthread_mutex_t MutexId; -
testsuites/psxtmtests/psxtmmutex07/init.c
r65c6425 r991a3cc1 1 1 /* 2 * COPYRIGHT (c) 1989-201 1.2 * COPYRIGHT (c) 1989-2012. 3 3 * On-Line Applications Research Corporation (OAR). 4 4 * … … 17 17 #include <pthread.h> 18 18 #include "test_support.h" 19 20 /* forward declarations to avoid warnings */ 21 void *POSIX_Init(void *argument); 22 void test_mutex_setprioceiling(void); 23 void test_mutex_getprioceiling(void); 19 24 20 25 pthread_mutex_t MutexId; -
testsuites/psxtmtests/psxtmnanosleep01/init.c
r65c6425 r991a3cc1 1 1 /* 2 * COPYRIGHT (c) 1989-201 1.2 * COPYRIGHT (c) 1989-2012. 3 3 * On-Line Applications Research Corporation (OAR). 4 4 * … … 15 15 #include <rtems/timerdrv.h> 16 16 #include "test_support.h" 17 18 /* forward declarations to avoid warnings */ 19 void *POSIX_Init(void *argument); 17 20 18 21 void *POSIX_Init( -
testsuites/psxtmtests/psxtmnanosleep02/init.c
r65c6425 r991a3cc1 1 1 /* 2 * COPYRIGHT (c) 1989-201 1.2 * COPYRIGHT (c) 1989-2012. 3 3 * On-Line Applications Research Corporation (OAR). 4 4 * … … 17 17 18 18 #include <pthread.h> 19 20 /* forward declarations to avoid warnings */ 21 void *POSIX_Init(void *argument); 22 void *Middle(void *argument); 23 void *Low(void *argument); 19 24 20 25 void *Low( -
testsuites/psxtmtests/psxtmrwlock01/init.c
r65c6425 r991a3cc1 1 1 /* 2 * COPYRIGHT (c) 1989-201 1.2 * COPYRIGHT (c) 1989-2012. 3 3 * On-Line Applications Research Corporation (OAR). 4 4 * … … 17 17 #include "test_support.h" 18 18 19 /* forward declarations to avoid warnings */ 20 void *POSIX_Init(void *argument); 21 19 22 pthread_rwlock_t rwlock; 20 23 -
testsuites/psxtmtests/psxtmrwlock02/init.c
r65c6425 r991a3cc1 1 1 /* 2 * COPYRIGHT (c) 1989-201 1.2 * COPYRIGHT (c) 1989-2012. 3 3 * On-Line Applications Research Corporation (OAR). 4 4 * … … 19 19 #include <rtems/timerdrv.h> 20 20 #include "test_support.h" 21 22 /* forward declarations to avoid warnings */ 23 void *POSIX_Init(void *argument); 24 void *Middle(void *argument); 25 void *Low(void *argument); 21 26 22 27 pthread_rwlock_t rwlock; -
testsuites/psxtmtests/psxtmrwlock03/init.c
r65c6425 r991a3cc1 1 1 /* 2 * COPYRIGHT (c) 1989-201 1.2 * COPYRIGHT (c) 1989-2012. 3 3 * On-Line Applications Research Corporation (OAR). 4 4 * … … 19 19 #include <rtems/timerdrv.h> 20 20 #include "test_support.h" 21 22 /* forward declarations to avoid warnings */ 23 void *POSIX_Init(void *argument); 24 void *Middle(void *argument); 25 void *Low(void *argument); 21 26 22 27 pthread_rwlock_t rwlock; -
testsuites/psxtmtests/psxtmrwlock04/init.c
r65c6425 r991a3cc1 1 1 /* 2 * COPYRIGHT (c) 1989-201 1.2 * COPYRIGHT (c) 1989-2012. 3 3 * On-Line Applications Research Corporation (OAR). 4 4 * … … 19 19 #include <rtems/timerdrv.h> 20 20 #include "test_support.h" 21 22 /* forward declarations to avoid warnings */ 23 void *POSIX_Init(void *argument); 24 void *Middle(void *argument); 25 void *Low(void *argument); 21 26 22 27 pthread_rwlock_t rwlock; -
testsuites/psxtmtests/psxtmrwlock05/init.c
r65c6425 r991a3cc1 1 1 /* 2 * COPYRIGHT (c) 1989-201 1.2 * COPYRIGHT (c) 1989-2012. 3 3 * On-Line Applications Research Corporation (OAR). 4 4 * … … 19 19 #include <rtems/timerdrv.h> 20 20 #include "test_support.h" 21 22 /* forward declarations to avoid warnings */ 23 void *POSIX_Init(void *argument); 24 void *Middle(void *argument); 25 void *Low(void *argument); 21 26 22 27 pthread_rwlock_t rwlock; -
testsuites/psxtmtests/psxtmrwlock06/init.c
r65c6425 r991a3cc1 1 1 /* 2 * COPYRIGHT (c) 1989-201 1.2 * COPYRIGHT (c) 1989-2012. 3 3 * On-Line Applications Research Corporation (OAR). 4 4 * … … 19 19 #include "test_support.h" 20 20 #include <rtems/timerdrv.h> 21 22 /* forward declarations to avoid warnings */ 23 void *POSIX_Init(void *argument); 24 void *Blocker(void *argument); 21 25 22 26 pthread_rwlock_t rwlock; -
testsuites/psxtmtests/psxtmrwlock07/init.c
r65c6425 r991a3cc1 1 1 /* 2 * COPYRIGHT (c) 1989-201 1.2 * COPYRIGHT (c) 1989-2012. 3 3 * On-Line Applications Research Corporation (OAR). 4 4 * … … 19 19 #include <sched.h> 20 20 #include <rtems/timerdrv.h> 21 22 /* forward declarations to avoid warnings */ 23 void *POSIX_Init(void *argument); 24 void *Middle(void *argument); 25 void *Low(void *argument); 21 26 22 27 pthread_rwlock_t rwlock; -
testsuites/psxtmtests/psxtmsem01/init.c
r65c6425 r991a3cc1 1 1 /* 2 * COPYRIGHT (c) 1989-201 1.2 * COPYRIGHT (c) 1989-2012. 3 3 * On-Line Applications Research Corporation (OAR). 4 4 * … … 19 19 #include <rtems/timerdrv.h> 20 20 #include "test_support.h" 21 22 /* forward declarations to avoid warnings */ 23 void *POSIX_Init(void *argument); 21 24 22 25 #define MAX_SEMS 2 -
testsuites/psxtmtests/psxtmsem02/init.c
r65c6425 r991a3cc1 1 1 /* 2 * COPYRIGHT (c) 1989-201 1.2 * COPYRIGHT (c) 1989-2012. 3 3 * On-Line Applications Research Corporation (OAR). 4 4 * … … 19 19 #include <rtems/timerdrv.h> 20 20 #include "test_support.h" 21 22 /* forward declarations to avoid warnings */ 23 void *POSIX_Init(void *argument); 21 24 22 25 sem_t sem1; -
testsuites/psxtmtests/psxtmsem03/init.c
r65c6425 r991a3cc1 1 1 /* 2 * COPYRIGHT (c) 1989-201 1.2 * COPYRIGHT (c) 1989-2012. 3 3 * On-Line Applications Research Corporation (OAR). 4 4 * … … 21 21 #include <pthread.h> 22 22 #include <sched.h> 23 24 /* forward declarations to avoid warnings */ 25 void *POSIX_Init(void *argument); 26 void *Middle(void *argument); 27 void *Low(void *argument); 23 28 24 29 #define MAX_SEMS 2 -
testsuites/psxtmtests/psxtmsem04/init.c
r65c6425 r991a3cc1 1 1 /* 2 * COPYRIGHT (c) 1989-201 1.2 * COPYRIGHT (c) 1989-2012. 3 3 * On-Line Applications Research Corporation (OAR). 4 4 * … … 22 22 #include <sched.h> 23 23 #include <rtems/timerdrv.h> 24 25 /* forward declarations to avoid warnings */ 26 void *POSIX_Init(void *argument); 27 void *Blocker(void *argument); 24 28 25 29 #define MAX_SEMS 2 -
testsuites/psxtmtests/psxtmsem05/init.c
r65c6425 r991a3cc1 1 1 /* 2 * COPYRIGHT (c) 1989-201 1.2 * COPYRIGHT (c) 1989-2012. 3 3 * On-Line Applications Research Corporation (OAR). 4 4 * … … 22 22 #include <sched.h> 23 23 #include <rtems/timerdrv.h> 24 25 /* forward declarations to avoid warnings */ 26 void *POSIX_Init(void *argument); 27 void *Middle(void *argument); 28 void *Low(void *argument); 24 29 25 30 #define MAX_SEMS 2 -
testsuites/psxtmtests/psxtmsleep01/init.c
r65c6425 r991a3cc1 1 1 /* 2 * COPYRIGHT (c) 1989-201 1.2 * COPYRIGHT (c) 1989-2012. 3 3 * On-Line Applications Research Corporation (OAR). 4 4 * … … 17 17 18 18 #include <unistd.h> 19 20 /* forward declarations to avoid warnings */ 21 void *POSIX_Init(void *argument); 19 22 20 23 void *POSIX_Init( -
testsuites/psxtmtests/psxtmsleep02/init.c
r65c6425 r991a3cc1 1 1 /* 2 * COPYRIGHT (c) 1989-201 1.2 * COPYRIGHT (c) 1989-2012. 3 3 * On-Line Applications Research Corporation (OAR). 4 4 * … … 17 17 18 18 #include <pthread.h> 19 20 /* forward declarations to avoid warnings */ 21 void *POSIX_Init(void *argument); 22 void *Middle(void *argument); 23 void *Low(void *argument); 19 24 20 25 void *Low( -
testsuites/psxtmtests/psxtmthread01/init.c
r65c6425 r991a3cc1 1 1 /* 2 * COPYRIGHT (c) 1989-201 0.2 * COPYRIGHT (c) 1989-2012. 3 3 * On-Line Applications Research Corporation (OAR). 4 4 * … … 18 18 19 19 #include <pthread.h> 20 21 /* forward declarations to avoid warnings */ 22 void *POSIX_Init(void *argument); 23 void *TestThread(void *argument); 20 24 21 25 pthread_t ThreadId; -
testsuites/psxtmtests/psxtmthread03/init.c
r65c6425 r991a3cc1 1 1 /* 2 * COPYRIGHT (c) 1989-201 0.2 * COPYRIGHT (c) 1989-2012. 3 3 * On-Line Applications Research Corporation (OAR). 4 4 * … … 19 19 #include <sched.h> 20 20 #include <rtems/timerdrv.h> 21 22 /* forward declarations to avoid warnings */ 23 void *POSIX_Init(void *argument); 24 void *Middle(void *argument); 25 void *Low(void *argument); 21 26 22 27 void *Low(
Note: See TracChangeset
for help on using the changeset viewer.