diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-07-20 01:01:34 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-07-20 01:01:34 +0000 |
commit | ac970794a49f9e2f4e9ae23e27ceaa855e343617 (patch) | |
tree | 7f33c47a8010ff1afb96a1a57869abe8041b7710 | |
parent | Regenerate. (diff) | |
download | rtems-ac970794a49f9e2f4e9ae23e27ceaa855e343617.tar.bz2 |
2009-07-19 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp04/init.c: To be timesliced, tasks must also me preemptible.
-rw-r--r-- | testsuites/sptests/ChangeLog | 4 | ||||
-rw-r--r-- | testsuites/sptests/sp04/init.c | 6 |
2 files changed, 7 insertions, 3 deletions
diff --git a/testsuites/sptests/ChangeLog b/testsuites/sptests/ChangeLog index 960d3817cc..ea208a2620 100644 --- a/testsuites/sptests/ChangeLog +++ b/testsuites/sptests/ChangeLog @@ -1,3 +1,7 @@ +2009-07-19 Joel Sherrill <joel.sherrill@oarcorp.com> + + * sp04/init.c: To be timesliced, tasks must also me preemptible. + 2009-07-16 Joel Sherrill <joel.sherrill@oarcorp.com> * spfatal03/spfatal03.scn, spfatal03/testcase.h: Fix spfatal03 to do diff --git a/testsuites/sptests/sp04/init.c b/testsuites/sptests/sp04/init.c index 4c638f33f9..54c1b61e4c 100644 --- a/testsuites/sptests/sp04/init.c +++ b/testsuites/sptests/sp04/init.c @@ -69,7 +69,7 @@ rtems_task Init( Task_name[ 1 ], 1, RTEMS_MINIMUM_STACK_SIZE * 2, - RTEMS_TIMESLICE, + RTEMS_PREEMPT|RTEMS_TIMESLICE, RTEMS_DEFAULT_ATTRIBUTES, &Task_id[ 1 ] ); @@ -79,7 +79,7 @@ rtems_task Init( Task_name[ 2 ], 1, RTEMS_MINIMUM_STACK_SIZE * 2, - RTEMS_TIMESLICE, + RTEMS_PREEMPT|RTEMS_TIMESLICE, RTEMS_DEFAULT_ATTRIBUTES, &Task_id[ 2 ] ); @@ -89,7 +89,7 @@ rtems_task Init( Task_name[ 3 ], 1, RTEMS_MINIMUM_STACK_SIZE * 2, - RTEMS_TIMESLICE, + RTEMS_PREEMPT|RTEMS_TIMESLICE, RTEMS_DEFAULT_ATTRIBUTES, &Task_id[ 3 ] ); |