Files
rtems/testsuites/sptests/spintrcritical06/spintrcritical06.doc
T
Joel Sherrill eecd655794 2009-07-20 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac: Add test case for the
	_Thread_queue_Enqueue_priority interrupt critical section where the
	TCB we are using as a current pointer is removed from the thread
	queue when we flash interrupts while searching forward.
	* spintrcritical06/.cvsignore, spintrcritical06/Makefile.am,
	spintrcritical06/init.c, spintrcritical06/spintrcritical06.doc,
	spintrcritical06/spintrcritical06.scn: New files.
2009-07-20 14:49:25 +00:00

32 lines
914 B
Plaintext

#
# $Id$
#
# COPYRIGHT (c) 1989-2009.
# On-Line Applications Research Corporation (OAR).
#
# The license and distribution terms for this file may be
# found in the file LICENSE in this distribution or at
# http://www.rtems.com/license/LICENSE.
#
This file describes the directives and concepts tested by this test set.
test set name: spintrcritical06
directives:
_Thread_queue_Enqueue_priority
- interrupt synchronization
rtems_task_restart
_Thread_queue_Extract_priority
concepts:
+ Ensure that removing the "search task" from the thread queue while we
are looping and enqueuing another works as expected. This case is where
the TCB we are using as a current pointer is removed from the thread queue
when we flash interrupts WHILE SEARCHING FORWARD.
NOTE: There is no way to know this case is hit from a test perspective. The
test just runs and we check the coverage report.