Changeset 7f6a24ab in rtems for testsuites/sptests/sp12/init.c


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, 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
  • testsuites/sptests/sp12/init.c

    r5250ff39 r7f6a24ab  
    5454
    5555  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 ]
    6061  );
    6162  directive_failed( status, "rtems_semaphore_create of SM1" );
     
    6566    0,
    6667    RTEMS_PRIORITY,
     68    RTEMS_NO_PRIORITY,
    6769    &Semaphore_id[ 2 ]
    6870  );
     
    7375    1,
    7476    RTEMS_DEFAULT_ATTRIBUTES,
     77    RTEMS_NO_PRIORITY,
    7578    &Semaphore_id[ 3 ]
    7679  );
     
    9598    0,
    9699    RTEMS_BINARY_SEMAPHORE | RTEMS_PRIORITY | RTEMS_INHERIT_PRIORITY,
     100    RTEMS_NO_PRIORITY,
    97101    &Semaphore_id[ 2 ]
    98102  );
     
    111115    1,
    112116    RTEMS_BINARY_SEMAPHORE | RTEMS_PRIORITY | RTEMS_INHERIT_PRIORITY,
     117    RTEMS_NO_PRIORITY,
    113118    &Semaphore_id[ 2 ]
    114119  );
     
    126131    0,
    127132    RTEMS_PRIORITY,
     133    RTEMS_NO_PRIORITY,
    128134    &Semaphore_id[ 2 ]
    129135  );
Note: See TracChangeset for help on using the changeset viewer.