Changeset 8c44190a in rtems


Ignore:
Timestamp:
Apr 28, 2009, 11:17:36 AM (10 years ago)
Author:
Chris Johns <chrisj@…>
Branches:
4.10, 4.11, master
Children:
07d6fd5
Parents:
046fe12b
Message:

2009-04-28 Chris Johns <chrisj@…>

  • libblock/src/bdbuf.c: Flush the transfer sync event before blocking in a read.
Location:
cpukit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    r046fe12b r8c44190a  
     12009-04-28      Chris Johns <chrisj@rtems.org>
     2
     3        * libblock/src/bdbuf.c: Flush the transfer sync event before
     4        blocking in a read.
     5
    162009-04-28      Chris Johns <chrisj@rtems.org>
    27
  • cpukit/libblock/src/bdbuf.c

    r046fe12b r8c44190a  
    16401640     * of the bdbuf code.
    16411641     */
    1642     int      result;
    1643     uint32_t b;
    1644    
     1642    rtems_event_set out;
     1643    int             result;
     1644    uint32_t        b;
     1645
     1646    /*
     1647     * Flush any events.
     1648     */
     1649    rtems_event_receive (RTEMS_BDBUF_TRANSFER_SYNC,
     1650                         RTEMS_EVENT_ALL | RTEMS_NO_WAIT,
     1651                         0, &out);
     1652                         
    16451653    rtems_bdbuf_unlock_pool (pool);
    16461654
     
    16661674    {
    16671675      rtems_status_code sc;
    1668       rtems_event_set   out;
     1676     
    16691677      sc = rtems_event_receive (RTEMS_BDBUF_TRANSFER_SYNC,
    16701678                                RTEMS_EVENT_ALL | RTEMS_WAIT,
Note: See TracChangeset for help on using the changeset viewer.