Changeset dba7398 in rtems


Ignore:
Timestamp:
Jun 15, 2009, 4:33:11 PM (11 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 5, master
Children:
ce57509
Parents:
8bcb9e2
Message:

2009-06-15 Joel Sherrill <joel.sherrill@…>

  • posix/src/killinfo.c: Make easier to map coverage data.
Location:
cpukit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    r8bcb9e2 rdba7398  
     12009-06-15      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * posix/src/killinfo.c: Make easier to map coverage data.
     4
    152009-06-15      Chris Johns <chrisj@rtems.org>
    26
  • cpukit/posix/src/killinfo.c

    r8bcb9e2 rdba7398  
    22 *  kill() support routine
    33 *
    4  *  COPYRIGHT (c) 1989-2007.
     4 *  COPYRIGHT (c) 1989-2009.
    55 *  On-Line Applications Research Corporation (OAR).
    66 *
     
    141141      api = the_thread->API_Extensions[ THREAD_API_POSIX ];
    142142
    143       if ((the_thread->Wait.option & mask) || (~api->signals_blocked & mask)) {
     143      /*
     144       * Is this thread is actually blocked waiting for the signal?
     145       */
     146      if (the_thread->Wait.option & mask)
    144147        goto process_it;
    145       }
    146 
     148
     149      /*
     150       * Is this thread is blocked waiting for another signal but has
     151       * not blocked this one?
     152       */
     153      if (~api->signals_blocked & mask)
     154        goto process_it;
    147155    }
    148156  }
     
    180188
    181189    /*
    182      *  This cannot happen in the current (as of Dec 2007) implementation
     190     *  This cannot happen in the current (as of June 2009) implementation
    183191     *  of initialization but at some point, the object information
    184192     *  structure for a particular manager may not be installed.
     
    210218      api = the_thread->API_Extensions[ THREAD_API_POSIX ];
    211219
    212       if ( !api || !_POSIX_signals_Is_interested( api, mask ) )
     220      if ( !api )
     221        continue;
     222
     223      if ( !_POSIX_signals_Is_interested( api, mask ) )
    213224        continue;
    214225
Note: See TracChangeset for help on using the changeset viewer.