Changeset 459f770 in rtems for testsuites/tmtests/tm26/task1.c


Ignore:
Timestamp:
Jun 5, 1995, 11:55:00 PM (25 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
9e86dd7d
Parents:
6b782ab
Message:

added calls to _Thread_Disable_dispatch to match requirements
for invocation of _Thread_Handler

File:
1 edited

Legend:

Unmodified
Added
Removed
  • testsuites/tmtests/tm26/task1.c

    r6b782ab r459f770  
    1515#include "system.h"
    1616#include "fptest.h"
    17 #include "coverhd.h"
    18 #include "tmacros.h"
    19 #include "timesys.h"
     17#include <coverhd.h>
     18#include <tmacros.h>
     19#include <timesys.h>
    2020
    2121#undef EXTERN
     
    235235  _Context_Switch_necessary = FALSE;
    236236
     237  _Thread_Disable_dispatch();
     238
    237239  Timer_initialize();
    238240    _Context_Switch( &Middle_tcb->Registers, &_Thread_Executing->Registers );
     
    264266  _Context_Switch_necessary = FALSE;
    265267
     268  _Thread_Disable_dispatch();
     269
    266270  Timer_initialize();
    267271    _Context_Restore_fp( &_Thread_Executing->fp_context );
     
    294298
    295299  _Context_Switch_necessary = FALSE;
     300
     301  _Thread_Disable_dispatch();
    296302
    297303  Timer_initialize();
     
    322328  _Context_Switch_necessary = FALSE;
    323329
     330  _Thread_Disable_dispatch();
     331
    324332  Timer_initialize();
    325333    _Context_Save_fp( &executing->fp_context );
     
    357365  _Context_Switch_necessary = FALSE;
    358366
     367  _Thread_Disable_dispatch();
     368
    359369  Timer_initialize();
    360370    _Context_Save_fp( &executing->fp_context );
Note: See TracChangeset for help on using the changeset viewer.