diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-04-15 10:53:29 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-05-19 12:00:43 +0200 |
commit | 1ccbd052910ed16131c74b0d5595c8a94066942d (patch) | |
tree | a0c675b888d112efe455165bde2d9f0803392d3f /cpukit/score/src/watchdog.c | |
parent | score: Add _Watchdog_Acquire|Release|Flash() (diff) | |
download | rtems-1ccbd052910ed16131c74b0d5595c8a94066942d.tar.bz2 |
score: Add Watchdog_Iterator
Rewrite the _Watchdog_Insert(), _Watchdog_Remove() and
_Watchdog_Tickle() functions to use iterator items to synchronize
concurrent operations. This makes it possible to get rid of the global
variables _Watchdog_Sync_level and _Watchdog_Sync_count which are a
blocking point for scalable SMP solutions.
Update #2307.
Diffstat (limited to 'cpukit/score/src/watchdog.c')
-rw-r--r-- | cpukit/score/src/watchdog.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/cpukit/score/src/watchdog.c b/cpukit/score/src/watchdog.c index 0db60efe6b..11d3cf289f 100644 --- a/cpukit/score/src/watchdog.c +++ b/cpukit/score/src/watchdog.c @@ -25,8 +25,6 @@ void _Watchdog_Handler_initialization( void ) { - _Watchdog_Sync_count = 0; - _Watchdog_Sync_level = 0; _Watchdog_Ticks_since_boot = 0; _Watchdog_Header_initialize( &_Watchdog_Ticks_header ); |