Mercurial > hg > Members > tobaru > CbC_xv6
changeset 163:620a6abe2259 default tip
temporary_fix_use_pipe.h_at_pipe.cbc
author | anatofuz |
---|---|
date | Mon, 23 Dec 2019 08:35:53 +0900 |
parents | e47eaee4e8c1 |
children | |
files | src/interface/pipe.dg src/pipe.cbc |
diffstat | 2 files changed, 6 insertions(+), 10 deletions(-) [+] |
line wrap: on
line diff
--- a/src/interface/pipe.dg Sun Dec 22 19:41:35 2019 +0900 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,10 +0,0 @@ -#define PIPESIZE 512 - -typedef struct pipe <Impl> { - struct spinlock lock; - char data[PIPESIZE]; - uint nread; // number of bytes read - uint nwrite; // number of bytes written - int readopen; // read fd is still open - int writeopen; // write fd is still open -} pipe;