mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-06 07:33:17 +00:00
2005-08-18 Andrew Sinclair <Andrew.Sinclair@elprotech.com>
PR 807/rtems * src/timerfireafter.c, src/timerserverfireafter.c: First patch returned without exitting dispatching critical section.
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
2005-08-18 Andrew Sinclair <Andrew.Sinclair@elprotech.com>
|
||||||
|
|
||||||
|
PR 807/rtems
|
||||||
|
* src/timerfireafter.c, src/timerserverfireafter.c: First patch
|
||||||
|
returned without exitting dispatching critical section.
|
||||||
|
|
||||||
2005-08-17 Andrew Sinclair <Andrew.Sinclair@elprotech.com>
|
2005-08-17 Andrew Sinclair <Andrew.Sinclair@elprotech.com>
|
||||||
|
|
||||||
PR 807/rtems
|
PR 807/rtems
|
||||||
|
|||||||
@@ -75,6 +75,7 @@ rtems_status_code rtems_timer_fire_after(
|
|||||||
|
|
||||||
if ( the_timer->Ticker.state != WATCHDOG_INACTIVE ) {
|
if ( the_timer->Ticker.state != WATCHDOG_INACTIVE ) {
|
||||||
_ISR_Enable( level );
|
_ISR_Enable( level );
|
||||||
|
_Thread_Enable_dispatch();
|
||||||
return RTEMS_SUCCESSFUL;
|
return RTEMS_SUCCESSFUL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -80,6 +80,7 @@ rtems_status_code rtems_timer_server_fire_after(
|
|||||||
|
|
||||||
if ( the_timer->Ticker.state != WATCHDOG_INACTIVE ) {
|
if ( the_timer->Ticker.state != WATCHDOG_INACTIVE ) {
|
||||||
_ISR_Enable( level );
|
_ISR_Enable( level );
|
||||||
|
_Thread_Enable_dispatch();
|
||||||
return RTEMS_SUCCESSFUL;
|
return RTEMS_SUCCESSFUL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user