diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index ca76d3a7e3..65a4a431ae 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,10 @@ +2004-07-25 Victor Vengerov + + PR 654/rtems + * score/src/threadinitialize.c: Initialize the per thread watchdog + timer. When the thread control block is reused, we cannot depend on + it being zeroed. + 2004-07-24 Mick Davis PR 641/rtems diff --git a/cpukit/score/src/threadinitialize.c b/cpukit/score/src/threadinitialize.c index 9a3649865d..319a3abea9 100644 --- a/cpukit/score/src/threadinitialize.c +++ b/cpukit/score/src/threadinitialize.c @@ -24,6 +24,7 @@ #include #include #include +#include #include /*PAGE @@ -114,6 +115,11 @@ boolean _Thread_Initialize( the_thread->Start.fp_context = fp_area; #endif + /* + * Initialize the thread timer + */ + _Watchdog_Initialize( &the_thread->Timer, NULL, 0, NULL ); + /* * Clear the libc reent hook. */