Changeset b1b6dd71 in rtems for cpukit/include/rtems/pipe.h


Ignore:
Timestamp:
Dec 11, 2019, 3:45:37 PM (2 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
08bd7d3
Parents:
86c70e71
git-author:
Sebastian Huber <sebastian.huber@…> (12/11/19 15:45:37)
git-committer:
Sebastian Huber <sebastian.huber@…> (12/11/19 16:45:31)
Message:

pipe: Use condition variables

Use self-contained condition variables instead of Classic API barriers.
This simplifies the implementation and configuration.

Update #3840.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/include/rtems/pipe.h

    r86c70e71 rb1b6dd71  
    4848  unsigned int writerCounter;     /* for differentiation of successive opens */
    4949  rtems_mutex Mutex;
    50   rtems_id readBarrier;   /* wait queues */
    51   rtems_id writeBarrier;
     50  rtems_condition_variable readBarrier;   /* wait queues */
     51  rtems_condition_variable writeBarrier;
    5252#if 0
    5353  boolean Anonymous;      /* anonymous pipe or FIFO */
Note: See TracChangeset for help on using the changeset viewer.