diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2011-09-20 13:06:42 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2011-09-20 13:06:42 +0000 |
commit | 40ee2fc0bec20961a4d7c3a324eb84c09d81ded3 (patch) | |
tree | 5c028d2ce22c52e1660584042095ffe129cd1725 /cpukit/rtems/src/ratemondelete.c | |
parent | 2011-09-19 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-40ee2fc0bec20961a4d7c3a324eb84c09d81ded3.tar.bz2 |
2011-09-20 Petr Benes <benesp16@fel.cvut.cz>
PR 1916/testing
* rtems/src/ratemondelete.c, score/src/schedulercbsreleasejob.c,
score/src/scheduleredfupdate.c, score/src/scheduleredfyield.c: Rework
to improve coverage.
Diffstat (limited to 'cpukit/rtems/src/ratemondelete.c')
-rw-r--r-- | cpukit/rtems/src/ratemondelete.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/rtems/src/ratemondelete.c b/cpukit/rtems/src/ratemondelete.c index 1ce298a497..155a1c13c6 100644 --- a/cpukit/rtems/src/ratemondelete.c +++ b/cpukit/rtems/src/ratemondelete.c @@ -47,11 +47,11 @@ rtems_status_code rtems_rate_monotonic_delete( switch ( location ) { case OBJECTS_LOCAL: + _Scheduler_Release_job(the_period->owner, 0); _Objects_Close( &_Rate_monotonic_Information, &the_period->Object ); (void) _Watchdog_Remove( &the_period->Timer ); the_period->state = RATE_MONOTONIC_INACTIVE; _Rate_monotonic_Free( the_period ); - _Scheduler_Release_job(the_period->owner, 0); _Thread_Enable_dispatch(); return RTEMS_SUCCESSFUL; |