Changeset 7feb6f9 in rtems


Ignore:
Timestamp:
Jul 24, 2004, 5:08:17 PM (17 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Children:
38198f30
Parents:
e18303d9
Message:

2004-07-24 Joel Sherrill <joel@…>

PR rtems/652

  • src/signalsend.c: Return RTEMS_INVALID_NUMBER when sending an empty signal set.
Location:
cpukit/rtems
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/rtems/ChangeLog

    re18303d9 r7feb6f9  
     12004-07-24      Joel Sherrill <joel@OARcorp.com>
     2
     3        PR rtems/652
     4        * src/signalsend.c: Return RTEMS_INVALID_NUMBER when sending an empty
     5        signal set.
     6
    172004-07-14      Joel Sherrill <joel@OARcorp.com>
    28
  • cpukit/rtems/src/signalsend.c

    re18303d9 r7feb6f9  
    3434 *  Output parameters:
    3535 *    RTEMS_SUCCESSFUL - if successful
    36  *    error code - if unsuccessful
     36 *    error code       - if unsuccessful
    3737 */
    3838
    3939rtems_status_code rtems_signal_send(
    40   Objects_Id             id,
    41   rtems_signal_set signal_set
     40  Objects_Id        id,
     41  rtems_signal_set  signal_set
    4242)
    4343{
     
    4646  RTEMS_API_Control       *api;
    4747  ASR_Information         *asr;
     48
     49  if ( !signal_set )
     50    return RTEMS_INVALID_NUMBER;
    4851
    4952  the_thread = _Thread_Get( id, &location );
Note: See TracChangeset for help on using the changeset viewer.