Ticket #543: pr.diff

File pr.diff, 867 bytes (added by Joel Sherrill, on Dec 3, 2006 at 1:31:13 PM)

pr.diff

  • cpukit/score/src/threadclose.c

    RCS file: /usr1/CVS/rtems/cpukit/score/src/threadclose.c,v
    retrieving revision 1.5.2.1
    diff -u -r1.5.2.1 threadclose.c
     
    4141  Thread_Control       *the_thread
    4242)
    4343{
     44  _User_extensions_Thread_delete( the_thread );
     45 
    4446  _Objects_Close( information, &the_thread->Object );
    4547 
    4648  _Thread_Set_state( the_thread, STATES_TRANSIENT );
     
    5052      (void) _Watchdog_Remove( &the_thread->Timer );
    5153  }
    5254
    53   _User_extensions_Thread_delete( the_thread );
    54  
    5555#if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )
    5656#if ( CPU_USE_DEFERRED_FP_SWITCH == TRUE )
    5757  if ( _Thread_Is_allocated_fp( the_thread ) )