Ticket #1407: isr_v4.patch

File isr_v4.patch, 1.4 KB (added by Sebastian Huber, on 07/17/09 at 14:02:28)

Proposal

  • cpukit/score/src/isrthreaddispatch.c

    RCS file: /usr1/CVS/rtems/cpukit/score/src/isrthreaddispatch.c,v
    retrieving revision 1.1
    diff -u -r1.1 isrthreaddispatch.c
     
    55 */
    66
    77/*
    8  * Copyright (c) 2009 embedded brains GmbH
    9  *
    10  * embedded brains GmbH
    11  * Obere Lagerstr. 30
    12  * D-82178 Puchheim
    13  * Germany
    14  * <rtems@embedded-brains.de>
    15  *
    16  * Copyright (c) 2009 Till Straumann <strauman@slac.stanford.edu>
     8 * Copyright (c) 2009 On-Line Applications Research Corporation (OAR)
    179 *
    1810 * The license and distribution terms for this file may be
    1911 * found in the file LICENSE in this distribution or at
     
    2719
    2820void _ISR_Thread_dispatch( void )
    2921{
    30   if ( _Context_Switch_necessary ) {
    31     _Thread_Dispatch();
    32   } else if ( _ISR_Signals_to_thread_executing ) {
     22  if ( _Context_Switch_necessary || _ISR_Signals_to_thread_executing ) {
    3323    _ISR_Signals_to_thread_executing = false;
    34     if (
    35       _Thread_Do_post_task_switch_extension
    36         || _Thread_Executing->do_post_task_switch_extension
    37     ) {
    38       _Thread_Executing->do_post_task_switch_extension = false;
    39       _API_extensions_Run_postswitch();
    40     }
     24    _Thread_Dispatch();
    4125  }
    4226}
    4327