Changeset 53eafcb in rtems


Ignore:
Timestamp:
Jul 29, 2010, 5:49:30 PM (9 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, master
Children:
4ef13360
Parents:
bafe269d
Message:

2010-07-29 Joel Sherrill <joel.sherrilL@…>

  • posix/src/psignalunblockthread.c: Clean up and simplify.
Location:
cpukit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    rbafe269d r53eafcb  
     12010-07-29      Joel Sherrill <joel.sherrilL@OARcorp.com>
     2
     3        * posix/src/psignalunblockthread.c: Clean up and simplify.
     4
    152010-07-28      Vinu Rajashekhar <vinutheraj@gmail.com>
    26
  • cpukit/posix/src/psignalunblockthread.c

    rbafe269d r53eafcb  
    9999     */
    100100
    101     if ( the_thread->current_state & STATES_INTERRUPTIBLE_BY_SIGNAL ) {
     101    if ( _States_Is_interruptible_by_signal( the_thread->current_state ) ) {
    102102      the_thread->Wait.return_code = EINTR;
    103103      /*
     
    107107        if ( _States_Is_waiting_on_thread_queue(the_thread->current_state) )
    108108          _Thread_queue_Extract_with_proxy( the_thread );
    109         else if ( _States_Is_delaying(the_thread->current_state) ){
    110             if ( _Watchdog_Is_active( &the_thread->Timer ) )
    111               (void) _Watchdog_Remove( &the_thread->Timer );
     109        else if ( _States_Is_delaying(the_thread->current_state) ) {
     110            (void) _Watchdog_Remove( &the_thread->Timer );
    112111            _Thread_Unblock( the_thread );
    113112          }
Note: See TracChangeset for help on using the changeset viewer.