forked from Imagelibrary/rtems
Added notes for new test.
This commit is contained in:
19
c/src/tests/sptests/sp27/TODO
Normal file
19
c/src/tests/sptests/sp27/TODO
Normal file
@@ -0,0 +1,19 @@
|
||||
#
|
||||
# $Id$
|
||||
#
|
||||
|
||||
This test should be for rtems_semaphore_flush. It will be something like:
|
||||
|
||||
TaskA:
|
||||
create semaphore with initial count 0
|
||||
start taskB and TaskC (Higher priority than taskA, no round-robin)
|
||||
print message
|
||||
semaphore_flush
|
||||
|
||||
TaskB/C:
|
||||
obtain semaphore
|
||||
print message
|
||||
suspend/delete self
|
||||
|
||||
Successful test would show message from both tasks B and C after the
|
||||
message from task A.
|
||||
Reference in New Issue
Block a user