Changeset 12f86efd in rtems for c/src/lib/libbsp/shmdr/poll.c


Ignore:
Timestamp:
Aug 11, 1995, 2:23:49 PM (26 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
0e4c603
Parents:
0b8b971
Message:

minor clean up -- switched to memset for zero'ing SHM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/shmdr/poll.c

    r0b8b971 r12f86efd  
    4545      tmpfront = Shm_Local_receive_queue->front;
    4646      Shm_Unlock( Shm_Local_receive_queue );
    47       if ( Shm_Convert(tmpfront) == Shm_Locked_queue_End_of_list ) return;
    48       rtems_multiprocessing_announce();
    49       Shm_Interrupt_count++;
     47      if ( Shm_Convert(tmpfront) != Shm_Locked_queue_End_of_list ) {
     48        rtems_multiprocessing_announce();
     49        Shm_Interrupt_count++;
     50      }
    5051  }
    5152}
Note: See TracChangeset for help on using the changeset viewer.