Changeset 2ca64b5 in rtems


Ignore:
Timestamp:
Oct 26, 1999, 2:32:47 AM (20 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
85cb0e5
Parents:
9982674
Message:

New ideas on test incorporated.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/tests/sptests/sp27/TODO

    r9982674 r2ca64b5  
    33#
    44
    5 This test should be for rtems_semaphore_flush.  It will be something like:
     5This test will be for rtems_semaphore_flush once it is written. 
     6
     7To avoid scheduling problems in the printout, it would be better to
     8have the test program:
     9
     10volatile int bFlag, cFlag;
    611
    712TaskA:
    8         create semaphore with initial count 0
    9         start taskB and TaskC (Higher priority than taskA, no round-robin)
    10         print message
    11         semaphore_flush
     13         create semaphore with initial count 0
     14         start taskB and TaskC (Higher priority than taskA, no
     15round-robin)
     16         print bFlag, cFlag (should both be 0)
     17         semaphore_flush
     18         print bFlag, cFlag (should both be 1)
    1219
    13 TaskB/C:
    14         obtain semaphore
    15         print message
    16         suspend/delete self
     20 TaskB/C:
     21         obtain semaphore
     22         set flag (B or C as appropriate)
     23         suspend/delete self
    1724
    1825Successful test would show message from both tasks B and C after the
    1926message from task A.
     27
Note: See TracChangeset for help on using the changeset viewer.