summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxmsgq01/system.h
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtests/psxmsgq01/system.h')
-rw-r--r--testsuites/psxtests/psxmsgq01/system.h24
1 files changed, 22 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxmsgq01/system.h b/testsuites/psxtests/psxmsgq01/system.h
index c5d04b5aa2..97775c304e 100644
--- a/testsuites/psxtests/psxmsgq01/system.h
+++ b/testsuites/psxtests/psxmsgq01/system.h
@@ -38,12 +38,14 @@ void *Task_1_through_3(
#define CONFIGURE_POSIX_INIT_THREAD_TABLE
-#define CONFIGURE_MAXIMUM_POSIX_THREADS 2
+#define CONFIGURE_MAXIMUM_POSIX_THREADS 5
#define CONFIGURE_MAXIMUM_POSIX_MESSAGE_QUEUES 10
+#define CONFIGURE_MAXIMUM_POSIX_TIMERS 4
+#define CONFIGURE_MAXIMUM_TIMERS 4
#define CONFIGURE_POSIX_INIT_THREAD_TABLE
#define CONFIGURE_POSIX_INIT_THREAD_STACK_SIZE \
- (RTEMS_MINIMUM_STACK_SIZE * 4)
+ (RTEMS_MINIMUM_STACK_SIZE * 10)
#include <confdefs.h>
@@ -52,6 +54,24 @@ void *Task_1_through_3(
TEST_EXTERN pthread_t Init_id;
TEST_EXTERN pthread_t Task_id;
+#define MSGSIZE 9
+#define MAXMSG 4
+
+typedef enum {
+ RD_QUEUE, /* Read only queue */
+ WR_QUEUE, /* Write only queue */
+ RW_QUEUE, /* Read Write non-blocking queue */
+ BLOCKING, /* Read Write blocking queue */
+ DEFAULT_RW, /* default must be last */
+ CLOSED, /* Created and closed queue */
+ NUMBER_OF_TEST_QUEUES
+} Test_Queue_Types;
+extern int Priority_Order[MAXMSG+1];
+void *Task_1 ( void *argument );
+void *Task_2( void *argument );
+void *Task_3( void *argument );
+void *Task_4( void *argument );
+
/* end of include file */