Re: [PATCH] score: Simplify _Watchdog_Tick()

2016-02-17 Thread Joel Sherrill
This seems OK. I think it is in sync with the simulator clock tick idle thread. But double check. On Feb 17, 2016 5:54 AM, "Sebastian Huber" < sebastian.hu...@embedded-brains.de> wrote: > Move thread dispatch disable check to legacy rtems_clock_tick(). Assert > that thread dispatching is disable

[PATCH] score: Simplify _Watchdog_Tick()

2016-02-17 Thread Sebastian Huber
Move thread dispatch disable check to legacy rtems_clock_tick(). Assert that thread dispatching is disabled in _Watchdog_Tick(). This is usually the case, since this function is called in interrupt context by the clock tick service routine. --- cpukit/rtems/src/clocktick.c| 5 + cpukit/s