spacing
This commit is contained in:
parent
4249490230
commit
22330658ff
1 changed files with 4 additions and 4 deletions
8
pipe.c
8
pipe.c
|
@ -10,10 +10,10 @@
|
||||||
#define PIPESIZE 512
|
#define PIPESIZE 512
|
||||||
|
|
||||||
struct pipe {
|
struct pipe {
|
||||||
int readopen; // read fd is still open
|
int readopen; // read fd is still open
|
||||||
int writeopen; // write fd is still open
|
int writeopen; // write fd is still open
|
||||||
int writep; // next index to write
|
int writep; // next index to write
|
||||||
int readp; // next index to read
|
int readp; // next index to read
|
||||||
struct spinlock lock;
|
struct spinlock lock;
|
||||||
char data[PIPESIZE];
|
char data[PIPESIZE];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue