Ignore:
Timestamp:
Jan 22, 2008, 9:19:18 PM (12 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.9, master
Children:
9185d61
Parents:
4e1304d
Message:

2008-01-22 Joel Sherrill <joel.sherrill@…>

  • rtems/src/eventsurrender.c, rtems/src/ratemonperiod.c, score/src/threadqdequeue.c, score/src/threadqdequeuefifo.c, score/src/threadqdequeuepriority.c: Fix bugs encountered while testing and clean up more code.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/src/threadqdequeuepriority.c

    r4e1304d r11c16a64  
    5656  Chain_Node     *next_node;
    5757  Chain_Node     *previous_node;
    58   Thread_blocking_operation_States sync;
    5958
    6059  _ISR_Disable( level );
     
    7069
    7170  /*
    72    * If we interrupted a blocking operation, cancel it.
     71   * We did not find a thread to unblock.
    7372   */
    74   sync = the_thread_queue->sync_state;
    75   if ( (sync == THREAD_BLOCKING_OPERATION_SYNCHRONIZED) ||
    76        (sync == THREAD_BLOCKING_OPERATION_SATISFIED) ) {
    77     _ISR_Enable( level );
    78     return NULL;
    79   }
    80 
    81   if ( (sync == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED) ||
    82        (sync == THREAD_BLOCKING_OPERATION_TIMEOUT ) ) {
    83     the_thread_queue->sync_state = THREAD_BLOCKING_OPERATION_SATISFIED;
    84     _ISR_Enable( level );
    85     return _Thread_Executing;
    86   }
     73  _ISR_Enable( level );
     74  return NULL;
    8775
    8876dequeue:
Note: See TracChangeset for help on using the changeset viewer.