UNIX xv6 (rev8, 9/1/15)
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
Data Fields
pipe Struct Reference

Data Fields

struct spinlock lock
 
char data [PIPESIZE]
 
uint nread
 
uint nwrite
 
int readopen
 
int writeopen
 

Detailed Description

Definition at line 12 of file pipe.c.

Field Documentation

char pipe::data[PIPESIZE]

Definition at line 14 of file pipe.c.

struct spinlock pipe::lock

Definition at line 13 of file pipe.c.

uint pipe::nread

Definition at line 15 of file pipe.c.

uint pipe::nwrite

Definition at line 16 of file pipe.c.

int pipe::readopen

Definition at line 17 of file pipe.c.

int pipe::writeopen

Definition at line 18 of file pipe.c.


The documentation for this struct was generated from the following file: