diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-02-26 10:33:36 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-03-05 11:36:19 +0100 |
commit | b8a5abf3fafa9df7cc0354c0ada6192c38e78354 (patch) | |
tree | a20b108ecbf95fa3e401a8073d7f35603b4bf2e1 /testsuites/sptests/sp04/system.h | |
parent | score: Add and use PRIORITY_PSEUDO_ISR (diff) | |
download | rtems-b8a5abf3fafa9df7cc0354c0ada6192c38e78354.tar.bz2 |
score: Update _Thread_Heir only if necessary
Previously, the _Thread_Heir was updated unconditionally in case a new
heir was determined. The _Thread_Dispatch_necessary was only updated in
case the executing thread was preemptible or an internal thread was
unblocked. Change this to update the _Thread_Heir and
_Thread_Dispatch_necessary only in case the currently selected heir
thread is preemptible or a dispatch is forced. Move the schedule
decision into the change priority operation and use the schedule
operation only in rtems_task_mode() in case preemption is enabled or an
ASR dispatch is necessary. This is a behaviour change. Previously, the
RTEMS_NO_PREEMPT also prevented signal delivery in certain cases (not
always). Now, signal delivery is no longer influenced by
RTEMS_NO_PREEMPT. Since the currently selected heir thread is used to
determine if a new heir is chosen, non-preemptible heir threads
currently not executing now prevent a new heir. This may have an
application impact, see change test tm04. Document this change in sp04.
Update #2273.
Diffstat (limited to 'testsuites/sptests/sp04/system.h')
-rw-r--r-- | testsuites/sptests/sp04/system.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/testsuites/sptests/sp04/system.h b/testsuites/sptests/sp04/system.h index b770ff214a..2181b8c9f0 100644 --- a/testsuites/sptests/sp04/system.h +++ b/testsuites/sptests/sp04/system.h @@ -50,6 +50,7 @@ void Task_switch( #define CONFIGURE_EXTRA_TASK_STACKS (3 * RTEMS_MINIMUM_STACK_SIZE) #define CONFIGURE_MAXIMUM_TASKS 4 +#define CONFIGURE_MAXIMUM_TIMERS 1 #include <rtems/confdefs.h> |