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