diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2003-12-16 23:30:12 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2003-12-16 23:30:12 +0000 |
commit | 588a59014cb68d6a5305cf74459c5afc36cffdd7 (patch) | |
tree | f786500c962e77d00e3c48330dbb8ad8da30d52d /cpukit | |
parent | 2003-12-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff) | |
download | rtems-588a59014cb68d6a5305cf74459c5afc36cffdd7.tar.bz2 |
2003-12-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
PR 533/bsps
* startup/linkcmds: Update linkcmds for gcc 3.3.2.
Diffstat (limited to 'cpukit')
-rw-r--r-- | cpukit/score/ChangeLog | 11 | ||||
-rw-r--r-- | cpukit/score/src/threadclose.c | 4 |
2 files changed, 13 insertions, 2 deletions
diff --git a/cpukit/score/ChangeLog b/cpukit/score/ChangeLog index 58ff743985..80e98014ba 100644 --- a/cpukit/score/ChangeLog +++ b/cpukit/score/ChangeLog @@ -1,3 +1,14 @@ +2003-12-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de> + + PR 533/bsps + * startup/linkcmds: Update linkcmds for gcc 3.3.2. + +2003-12-16 Joel Sherrill <joel@OARcorp.com> + + PR 543/rtems + * src/threadclose.c: Make the task delete extension run outside a + dispatch disabled critical section so extensions can free resources. + 2003-12-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de> * Makefile.am: Use mkdir_p. Remove dirs from PRE/TMPINSTALL_FILES. diff --git a/cpukit/score/src/threadclose.c b/cpukit/score/src/threadclose.c index 8f46c2c242..6e006f97c4 100644 --- a/cpukit/score/src/threadclose.c +++ b/cpukit/score/src/threadclose.c @@ -41,6 +41,8 @@ void _Thread_Close( Thread_Control *the_thread ) { + _User_extensions_Thread_delete( the_thread ); + _Objects_Close( information, &the_thread->Object ); _Thread_Set_state( the_thread, STATES_TRANSIENT ); @@ -50,8 +52,6 @@ void _Thread_Close( (void) _Watchdog_Remove( &the_thread->Timer ); } - _User_extensions_Thread_delete( the_thread ); - #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE ) #if ( CPU_USE_DEFERRED_FP_SWITCH == TRUE ) if ( _Thread_Is_allocated_fp( the_thread ) ) |