Changeset 7f6a24ab in rtems for cpukit/libcsupport/src/libio.c
- Timestamp:
- 08/28/95 15:30:29 (28 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 5072b07
- Parents:
- 5250ff39
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpukit/libcsupport/src/libio.c
r5250ff39 r7f6a24ab 112 112 } 113 113 114 rc = rtems_semaphore_create(RTEMS_LIBIO_SEM, 115 1, 116 RTEMS_BINARY_SEMAPHORE | RTEMS_INHERIT_PRIORITY | RTEMS_PRIORITY, 117 &rtems_libio_semaphore); 114 rc = rtems_semaphore_create( 115 RTEMS_LIBIO_SEM, 116 1, 117 RTEMS_BINARY_SEMAPHORE | RTEMS_INHERIT_PRIORITY | RTEMS_PRIORITY, 118 RTEMS_NO_PRIORITY, 119 &rtems_libio_semaphore 120 ); 118 121 if (rc != RTEMS_SUCCESSFUL) 119 122 rtems_fatal_error_occurred(rc); … … 200 203 */ 201 204 202 rc = rtems_semaphore_create(RTEMS_LIBIO_IOP_SEM(iop - rtems_libio_iops), 203 1, RTEMS_BINARY_SEMAPHORE | RTEMS_INHERIT_PRIORITY | RTEMS_PRIORITY, 204 &iop->sem); 205 rc = rtems_semaphore_create( 206 RTEMS_LIBIO_IOP_SEM(iop - rtems_libio_iops), 207 1, 208 RTEMS_BINARY_SEMAPHORE | RTEMS_INHERIT_PRIORITY | RTEMS_PRIORITY, 209 RTEMS_NO_PRIORITY, 210 &iop->sem 211 ); 205 212 if (rc != RTEMS_SUCCESSFUL) 206 213 goto failed;
Note: See TracChangeset
for help on using the changeset viewer.