Changeset 7f6a24ab in rtems for testsuites/sptests
- Timestamp:
- 08/28/95 15:30:29 (27 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 5072b07
- Parents:
- 5250ff39
- Location:
- testsuites/sptests
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
testsuites/sptests/sp09/screen05.c
r5250ff39 r7f6a24ab 24 24 rtems_status_code status; 25 25 26 status = rtems_semaphore_create( 0, 1, RTEMS_DEFAULT_ATTRIBUTES, &Junk_id ); 26 status = rtems_semaphore_create( 27 0, 28 1, 29 RTEMS_DEFAULT_ATTRIBUTES, 30 RTEMS_NO_PRIORITY, 31 &Junk_id 32 ); 27 33 fatal_directive_status( 28 34 status, … … 36 42 1, 37 43 RTEMS_DEFAULT_ATTRIBUTES, 44 RTEMS_NO_PRIORITY, 38 45 &Semaphore_id[ 1 ] 39 46 ); … … 45 52 1, 46 53 RTEMS_BINARY_SEMAPHORE, 54 RTEMS_NO_PRIORITY, 47 55 &Semaphore_id[ 2 ] 48 56 ); … … 55 63 1, 56 64 RTEMS_DEFAULT_ATTRIBUTES, 57 &Junk_id); 65 RTEMS_NO_PRIORITY, 66 &Junk_id 67 ); 58 68 } while (status == RTEMS_SUCCESSFUL); 59 69 … … 69 79 1, 70 80 RTEMS_INHERIT_PRIORITY | RTEMS_BINARY_SEMAPHORE | RTEMS_FIFO, 81 RTEMS_NO_PRIORITY, 71 82 &Junk_id 72 83 ); … … 82 93 1, 83 94 RTEMS_INHERIT_PRIORITY | RTEMS_COUNTING_SEMAPHORE | RTEMS_PRIORITY, 95 RTEMS_NO_PRIORITY, 84 96 &Junk_id 85 97 ); … … 95 107 2, 96 108 RTEMS_BINARY_SEMAPHORE, 109 RTEMS_NO_PRIORITY, 97 110 &Junk_id 98 111 ); … … 108 121 1, 109 122 RTEMS_GLOBAL, 123 RTEMS_NO_PRIORITY, 110 124 &Junk_id 111 125 ); -
testsuites/sptests/sp12/init.c
r5250ff39 r7f6a24ab 54 54 55 55 status = rtems_semaphore_create( 56 Semaphore_name[ 1 ], 57 1, 58 RTEMS_DEFAULT_ATTRIBUTES, 59 &Semaphore_id[ 1 ] 56 Semaphore_name[ 1 ], 57 1, 58 RTEMS_DEFAULT_ATTRIBUTES, 59 RTEMS_NO_PRIORITY, 60 &Semaphore_id[ 1 ] 60 61 ); 61 62 directive_failed( status, "rtems_semaphore_create of SM1" ); … … 65 66 0, 66 67 RTEMS_PRIORITY, 68 RTEMS_NO_PRIORITY, 67 69 &Semaphore_id[ 2 ] 68 70 ); … … 73 75 1, 74 76 RTEMS_DEFAULT_ATTRIBUTES, 77 RTEMS_NO_PRIORITY, 75 78 &Semaphore_id[ 3 ] 76 79 ); … … 95 98 0, 96 99 RTEMS_BINARY_SEMAPHORE | RTEMS_PRIORITY | RTEMS_INHERIT_PRIORITY, 100 RTEMS_NO_PRIORITY, 97 101 &Semaphore_id[ 2 ] 98 102 ); … … 111 115 1, 112 116 RTEMS_BINARY_SEMAPHORE | RTEMS_PRIORITY | RTEMS_INHERIT_PRIORITY, 117 RTEMS_NO_PRIORITY, 113 118 &Semaphore_id[ 2 ] 114 119 ); … … 126 131 0, 127 132 RTEMS_PRIORITY, 133 RTEMS_NO_PRIORITY, 128 134 &Semaphore_id[ 2 ] 129 135 );
Note: See TracChangeset
for help on using the changeset viewer.