#2728 closed defect (fixed)
Pipes use wrong semaphore for mutual exclusion
Reported by: | Sebastian Huber | Owned by: | Sebastian Huber |
---|---|---|---|
Priority: | normal | Milestone: | 5.1 |
Component: | score | Version: | 4.10 |
Severity: | normal | Keywords: | |
Cc: | Blocked By: | ||
Blocking: |
Description
cpukit/libfs/src/pipe/fifo.c- sc = rtems_semaphore_create( cpukit/libfs/src/pipe/fifo.c- rtems_build_name('P', 'I', 'P', 'E'), cpukit/libfs/src/pipe/fifo.c- 1, cpukit/libfs/src/pipe/fifo.c: RTEMS_BINARY_SEMAPHORE | RTEMS_INHERIT_PRIORITY | RTEMS_PRIORITY, cpukit/libfs/src/pipe/fifo.c- RTEMS_NO_PRIORITY, cpukit/libfs/src/pipe/fifo.c- &pipe_semaphore cpukit/libfs/src/pipe/fifo.c- );
Should use a binary semaphore with inherit priority instead.
Change History (3)
comment:1 Changed on 06/06/16 at 11:16:40 by Sebastian Huber <sebastian.huber@…>
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 Changed on 05/11/17 at 07:31:02 by Sebastian Huber
Milestone: | 4.12 → 4.12.0 |
---|
comment:3 Changed on 11/09/17 at 06:27:14 by Sebastian Huber
Milestone: | 4.12.0 → 5.1 |
---|
Milestone renamed
Note: See
TracTickets for help on using
tickets.
In c75aa864cf614ec2cc82598eadef6067a7dbe3db/rtems: