mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-08-31 13:52:49 +08:00
* 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.
32 lines
914 B
Plaintext
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.
|