Changeset 7f6a24ab in rtems for cpukit/libcsupport


Ignore:
Timestamp:
Aug 28, 1995, 3:30:29 PM (25 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
5072b07
Parents:
5250ff39
Message:

Added unused priority ceiling parameter to rtems_semaphore_create.

Rearranged code to created thread handler routines to initialize,
start, restart, and "close/delete" a thread.

Made internal threads their own object class. This now uses the
thread support routines for starting and initializing a thread.

Insured deleted tasks are freed to the Inactive pool associated with the
correct Information block.

Added an RTEMS API specific data area to the thread control block.

Beginnings of removing the word "rtems" from the core.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libcsupport/src/libio.c

    r5250ff39 r7f6a24ab  
    112112    }
    113113
    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    );
    118121    if (rc != RTEMS_SUCCESSFUL)
    119122        rtems_fatal_error_occurred(rc);
     
    200203             */
    201204
    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            );
    205212            if (rc != RTEMS_SUCCESSFUL)
    206213                goto failed;
Note: See TracChangeset for help on using the changeset viewer.