22 #include <rtems/thread.h> 45 unsigned int waitingReaders;
46 unsigned int waitingWriters;
47 unsigned int readerCounter;
48 unsigned int writerCounter;
50 rtems_condition_variable readBarrier;
51 rtems_condition_variable writeBarrier;
int pipe_ioctl(pipe_control_t *pipe, ioctl_command_t cmd, void *buffer, rtems_libio_t *iop)
File system Input/Output control.
Definition: fifo.c:397
int fifo_open(pipe_control_t **pipep, rtems_libio_t *iop)
File system open. Interface to file system open.
Definition: fifo.c:196
ssize_t pipe_write(pipe_control_t *pipe, const void *buffer, size_t count, rtems_libio_t *iop)
File system write.
Definition: fifo.c:325
void pipe_release(pipe_control_t **pipep, rtems_libio_t *iop)
Release a pipe.
Definition: fifo.c:146
An open file data structure.
Definition: libio.h:1320
ssize_t pipe_read(pipe_control_t *pipe, void *buffer, size_t count, rtems_libio_t *iop)
File system read.
Definition: fifo.c:269