mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-11-16 12:34:45 +00:00
2004-07-25 Victor Vengerov <Victor.Vengerov@oktetlabs.ru>
PR 654/rtems * src/threadinitialize.c: Initialize the per thread watchdog timer. When the thread control block is reused, we cannot depend on it being zeroed.
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
2004-07-25 Victor Vengerov <Victor.Vengerov@oktetlabs.ru>
|
||||
|
||||
PR 654/rtems
|
||||
* 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 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
PR 661/rtems
|
||||
|
||||
@@ -24,6 +24,7 @@
|
||||
#include <rtems/score/thread.h>
|
||||
#include <rtems/score/threadq.h>
|
||||
#include <rtems/score/userext.h>
|
||||
#include <rtems/score/watchdog.h>
|
||||
#include <rtems/score/wkspace.h>
|
||||
|
||||
/*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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user