Changeset 7f6a24ab in rtems for testsuites/sptests


Ignore:
Timestamp:
08/28/95 15:30:29 (27 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.

Location:
testsuites/sptests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • testsuites/sptests/sp09/screen05.c

    r5250ff39 r7f6a24ab  
    2424  rtems_status_code status;
    2525
    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  );
    2733  fatal_directive_status(
    2834    status,
     
    3642    1,
    3743    RTEMS_DEFAULT_ATTRIBUTES,
     44    RTEMS_NO_PRIORITY,
    3845    &Semaphore_id[ 1 ]
    3946  );
     
    4552    1,
    4653    RTEMS_BINARY_SEMAPHORE,
     54    RTEMS_NO_PRIORITY,
    4755    &Semaphore_id[ 2 ]
    4856  );
     
    5563          1,
    5664          RTEMS_DEFAULT_ATTRIBUTES,
    57           &Junk_id);
     65          RTEMS_NO_PRIORITY,
     66          &Junk_id
     67      );
    5868  } while (status == RTEMS_SUCCESSFUL);
    5969
     
    6979    1,
    7080    RTEMS_INHERIT_PRIORITY | RTEMS_BINARY_SEMAPHORE | RTEMS_FIFO,
     81    RTEMS_NO_PRIORITY,
    7182    &Junk_id
    7283  );
     
    8293    1,
    8394    RTEMS_INHERIT_PRIORITY | RTEMS_COUNTING_SEMAPHORE | RTEMS_PRIORITY,
     95    RTEMS_NO_PRIORITY,
    8496    &Junk_id
    8597  );
     
    95107    2,
    96108    RTEMS_BINARY_SEMAPHORE,
     109    RTEMS_NO_PRIORITY,
    97110    &Junk_id
    98111  );
     
    108121    1,
    109122    RTEMS_GLOBAL,
     123    RTEMS_NO_PRIORITY,
    110124    &Junk_id
    111125  );
  • 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.